25 #ifndef ENGINES_AURORA_TRIGGER_H 26 #define ENGINES_AURORA_TRIGGER_H 30 #include "glm/vec3.hpp" 43 bool contains(
float x,
float y)
const;
67 float m,
bool isVert)
const;
72 #endif // ENGINES_AURORA_TRIGGER_H bool isRayIntersect(float x, float y, float x1, float y1, float x2, float y2, float m, bool isVert) const
A bounding box around 3D points.
std::vector< SlopeData > _sides
Common::BoundingBox _boundingbox
An object that can be displayed by the graphics manager.
void render(Graphics::RenderPass pass)
Render the object.
void setVisible(bool visible)
std::vector< glm::vec3 > _geometry
An object that can be displayed by the graphics manager.
void calculateDistance()
Calculate the object's distance.
bool contains(float x, float y) const