22 #ifndef STARK_VISUAL_ACTOR_H 23 #define STARK_VISUAL_ACTOR_H 25 #include "engines/stark/visual/visual.h" 27 #include "common/array.h" 28 #include "common/rect.h" 30 #include "math/matrix4.h" 32 #include "math/vector3d.h" 52 static const VisualType TYPE = Visual::kActor;
57 void setModel(
Model *model);
60 void setNewFace(
char shape);
63 void setTime(uint32 time);
65 void setCastShadow(
bool cast) { _castsShadow = cast; }
67 bool intersectRay(
const Math::Ray &ray,
const Math::Vector3d &position,
float direction);
68 Common::Rect getBoundingRect(
const Math::Vector3d &position3d,
float direction)
const;
77 char _faceTextureName;
82 Math::Matrix4 getModelMatrix(
const Math::Vector3d &position,
float direction)
const;
88 #endif // STARK_VISUAL_ACTOR_H
Definition: animhandler.h:36