25Math::mat4
ColliderTransform(
const Math::vec3& position,
const Math::quat& orientation,
const Math::vec3& localPosition,
const Math::quat& localOrientation);
27Util::Array<Math::vec3>
ConvexHullXZ(
const Util::Array<Math::vec3>& points);
Nebula's bounding box class.
Definition bbox.h:24
Nebula's dynamic array class.
Definition array.h:61
A StringAtom.
Definition stringatom.h:22
Definition geometrysources.cc:15
IndexT OutlineInsertIndex(const Math::vec3 *outline, SizeT count, const Math::vec3 &point)
where a point goes into an outline: the index of the edge closest to it seen from above,...
Definition geometrysources.cc:137
bool IsSimpleOutlineXZ(const Math::vec3 *outline, SizeT count)
true if no two edges of the outline cross each other seen from above
Definition geometrysources.cc:172
Util::Array< Math::vec3 > ConvexHullXZ(const Util::Array< Math::vec3 > &input)
Monotone chain.
Definition geometrysources.cc:34
bool LoadHeightFieldSource(Util::StringAtom resource, float heightRange, float sizeX, float sizeZ, const Math::mat4 &transform, HeightFieldSource &out)
fill a height field source from a heightmap URN, folder:file:tex, like a HeightFieldCollider reads it
Definition geometrysources.cc:361
bool LoadMeshSource(Util::StringAtom resource, IndexT meshIndex, IndexT primGroup, const Math::mat4 &transform, MeshSource &out)
fill a mesh source from a mesh URN, folder:file:msh, like a MeshCollider reads it
Definition geometrysources.cc:312
bool RaycastNavMesh(const dtNavMesh &navMesh, const Math::point &start, const Math::vector &dir, float &outT)
Walks the detail triangles of every polygon, the same triangles Detour gives heights with.
Definition geometrysources.cc:265
Util::Array< Math::vec3 > BoxOutlineXZ(const Math::mat4 &boxTransform, const Math::bbox &localBox)
the outline of a box seen from above, the hull of its corners, in world space
Definition geometrysources.cc:108
AreaPrism MakeAreaPrism(const Math::mat4 &boxTransform, const Math::bbox &localBox, const Math::mat4 &pointTransform, const Math::vec3 *points, SizeT pointCount)
the prism an area volume marks.
Definition geometrysources.cc:73
Math::mat4 ColliderTransform(const Math::vec3 &position, const Math::quat &orientation, const Math::vec3 &localPosition, const Math::quat &localOrientation)
world transform of a collider shape, placed like physics places it: the entity's world position and o...
Definition geometrysources.cc:21
Navigation::Build geometry sources.
Definition geometrysources.cc:13
A 4x4 single point precision float matrix.
Definition mat4.h:55
Represents a 3D point in space.
Definition point.h:22
A 3D vector.
Definition vec3.h:37
A vector is a 3D direction in space.
Definition vector.h:22
the vertical prism an area volume marks
Definition geometrysources.h:31
Util::Array< Math::vec3 > outline
Definition geometrysources.h:32
float maxY
Definition geometrysources.h:34
float minY
Definition geometrysources.h:33
height field placed in the world, laid out like Physics::HeightFieldInput
Definition navmeshbuilder.h:66
triangle geometry placed in the world
Definition navmeshbuilder.h:58
int SizeT
Definition types.h:50
int IndexT
Definition types.h:49