23 type =
"default_camera";
25 position[0] = position[1] = position[2] = 0.;
27 Camera(
string t,
int f,
float p[3]) {
30 memcpy(position, p,
sizeof(position));
33 memcpy(obJ1.position, p,
sizeof(obJ1.position));
53 memcpy(position, p,
sizeof(position));
Camera(string t, int f, float p[3])
Definition: Camera.h:27
void setType(string t)
Definition: Camera.h:40
string type
Definition: Camera.h:17
int getFov() const
Definition: Camera.h:44
int fov
Definition: Camera.h:18
string getType() const
Definition: Camera.h:36
objectJson obJ1
Definition: Camera.h:20
void setPosition(float p[3])
Definition: Camera.h:52
void getPosition(float *p) const
Definition: Camera.h:55
void setFov(int f)
Definition: Camera.h:48
Camera()
Definition: Camera.h:22
Support for drawing Bar charts.
Definition: alltypes.h:4