8#ifndef ENGINE_BASE_GNODE_H_
9#define ENGINE_BASE_GNODE_H_
20 void move(
float dx,
float dy,
float dz);
21 void move(
const glm::vec3& dv);
23 void rotate(
float radians,
float ax,
float ay,
float az);
24 void rotateDeg(
float degrees,
float ax,
float ay,
float az);
25 void rotateAround(
float radians,
const glm::vec3& axis,
const glm::vec3& point);
26 void rotateAroundDeg(
float degrees,
const glm::vec3& axis,
const glm::vec3& point);
27 void scale(
float sx,
float sy,
float sz);
78 void pan(
float radians);
void rotateAround(float radians, const glm::vec3 &axis, const glm::vec3 &point)
void setEnabled(bool isEnabled)
const glm::mat4 & getTransformationMatrix() const
void tiltDeg(float degrees)
glm::quat orientation
Definition gNode.h:149
void scale(float sx, float sy, float sz)
void rollDeg(float degrees)
void move(float dx, float dy, float dz)
glm::vec3 getScalarDirectionZ() const
void removeChild(gNode *child)
gNode * parent
Definition gNode.h:142
glm::vec3 getScalarDirectionX() const
const glm::vec3 & getScale() const
const glm::vec3 & getPosition() const
void removeChild(int gObjectId)
virtual void processTransformationMatrix()
void setOrientation(const glm::vec3 &angles)
glm::vec3 getScalarDirectionY() const
std::deque< gNode * > children
Definition gNode.h:143
void rotate(float radians, float ax, float ay, float az)
void rotateAroundDeg(float degrees, const glm::vec3 &axis, const glm::vec3 &point)
glm::vec3 scalevec
Definition gNode.h:150
glm::quat prevorientation
Definition gNode.h:153
void addChild(gNode *child)
gNode * getParent() const
bool isenabled
Definition gNode.h:146
void rotateDeg(float degrees, float ax, float ay, float az)
glm::mat4 localtransformationmatrix
Definition gNode.h:144
glm::vec3 prevscalevec
Definition gNode.h:154
void move(const glm::vec3 &dv)
const glm::quat & getOrientation() const
void truck(float distance)
void setPosition(const glm::vec3 &pv)
void setScale(float sx, float sy, float sz)
void setScale(const glm::vec3 &s)
void setTransformationMatrix(const glm::mat4 &transformationMatrix)
void setParent(gNode *parent)
glm::vec3 position
Definition gNode.h:148
void setPosition(float px, float py, float pz)
void setOrientation(const glm::quat &o)
void panDeg(float degrees)
void rotate(const glm::quat &q)
glm::vec3 prevposition
Definition gNode.h:152
void boom(float distance)
void dolly(float distance)
Definition gRenderObject.h:25