refresh 5
This commit is contained in:
1 parent
04732af90b
commit
9273f38df1
165 files changed
+12516
-10252
No files matched your search
@@ -192,15 +192,15 @@ struct GraphNodeCamera
|
||||
{
|
||||
/*0x00*/ struct FnGraphNode fnNode;
|
||||
/*0x18*/ union {
|
||||
// When the node is created, a preset is assigned to the node.
|
||||
// Later in geo_camera_preset_and_pos a LevelCamera is allocated,
|
||||
// the preset is passed to the struct, and the field is overridden
|
||||
// When the node is created, a mode is assigned to the node.
|
||||
// Later in geo_camera_main a Camera is allocated,
|
||||
// the mode is passed to the struct, and the field is overridden
|
||||
// by a pointer to the struct. Gotta save those 4 bytes.
|
||||
s32 preset;
|
||||
struct LevelCamera *levelCamera;
|
||||
s32 mode;
|
||||
struct Camera *camera;
|
||||
} config;
|
||||
/*0x1C*/ Vec3f from;
|
||||
/*0x28*/ Vec3f to;
|
||||
/*0x1C*/ Vec3f pos;
|
||||
/*0x28*/ Vec3f focus;
|
||||
/*0x34*/ void *matrixPtr; // pointer to look-at matrix of this camera as a Mat4
|
||||
/*0x38*/ s16 roll; // roll in look at matrix. Doesn't account for light direction unlike rollScreen.
|
||||
/*0x3A*/ s16 rollScreen; // rolls screen while keeping the light direction consistent
|
||||
|
||||
Reference in new issue
Block a user