22 #ifndef STARK_VISUAL_PROP_H 23 #define STARK_VISUAL_PROP_H 25 #include "math/matrix4.h" 27 #include "math/vector3d.h" 29 #include "engines/stark/visual/visual.h" 30 #include "engines/stark/gfx/renderentry.h" 44 static const VisualType TYPE = Visual::kRendered;
52 bool intersectRay(
const Math::Ray &ray,
const Math::Vector3d &position,
float direction);
53 virtual void render(
const Math::Vector3d &position,
float direction,
const Gfx::LightEntryArray &lights) = 0;
58 Math::AABB _boundingBox;
60 Math::Matrix4 getModelMatrix(
const Math::Vector3d& position,
float direction);
65 #endif // STARK_VISUAL_PROP_H