25 #ifndef GRAPHICS_AURORA_WALKMESH_H 26 #define GRAPHICS_AURORA_WALKMESH_H 30 #include "glm/vec3.hpp" 52 bool testCollision(
const glm::vec3 &orig,
const glm::vec3 &dest)
const;
84 #endif // GRAPHICS_AURORA_WALKMESH_H bool testCollision(const glm::vec3 &orig, const glm::vec3 &dest) const
std::vector< uint32 > _indices
A simple scoped smart pointer template.
std::vector< bool > _faceWalkableMap
void setInvisible(bool invisible)
void render(Graphics::RenderPass pass)
Render the object.
Low-level type definitions to handle fixed width types portably.
std::vector< float > _vertices
void refreshIndexGroups()
void highlightFace(uint32 index)
Highlight face with specified index.
std::vector< uint32 > _indicesNonWalkable
An object that can be displayed by the graphics manager.
std::vector< uint32 > _indicesWalkable
float getElevationAt(float x, float y, uint32 &faceIndex) const
Return elevation at given coordinates or FLT_MIN if can't walk there.
void calculateDistance()
Calculate the object's distance.
An object that can be displayed by the graphics manager.