mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-11-27 07:10:42 +00:00
f4ea3dd215
needs to be applied universally. can't have nonmatching pushed
44 lines
817 B
C++
44 lines
817 B
C++
#ifndef _CAMERA_H
|
|
#define _CAMERA_H
|
|
|
|
#include "types.h"
|
|
|
|
namespace Sys {
|
|
struct Sphere;
|
|
} // namespace Sys
|
|
|
|
struct Camera {
|
|
u32 _00; // _00
|
|
// u8 _00[0xB4];
|
|
// f32 _B4[4][4];
|
|
|
|
Camera();
|
|
~Camera();
|
|
|
|
void calcProperDistance(float, float);
|
|
void calcScreenSize(Sys::Sphere&);
|
|
void copyFrom(Camera*);
|
|
void doUpdate();
|
|
float getFar();
|
|
void getLookAtPosition_();
|
|
void getLookAtPosition();
|
|
float getNear();
|
|
void getPosition();
|
|
void getPositionPtr();
|
|
void getSoundMatrixPtr();
|
|
void getSoundPositionPtr();
|
|
void getTargetDistance();
|
|
void getViewMatrix(bool);
|
|
void isSpecialCamera();
|
|
void on_getPositionPtr();
|
|
void setFixNearFar(bool, float, float);
|
|
void setProjection();
|
|
void update();
|
|
void updateMatrix();
|
|
void updatePlanes();
|
|
void updateScreenConstants();
|
|
void updateSoundCamera(float);
|
|
};
|
|
|
|
#endif
|