Nebula
Loading...
Searching...
No Matches
geometry.h File Reference
#include "core/types.h"
#include "util/array.h"
#include "util/stringatom.h"
#include "flat/physics/material.h"
#include <functional>

Go to the source code of this file.

Classes

struct  Physics::MeshGeometryInput
 Triangle geometry for the cooking layer. More...
struct  Physics::HeightFieldInput
 Height field samples for the cooking layer. More...
struct  Physics::GeometryLoader
 Holds function pointers for reading meshes and heightfields from resources. More...

Namespaces

namespace  Physics
 Diverse functions for manipulating physics actors.

Enumerations

enum class  Physics::IndexType { Physics::InvalidIndexType = 0 , Physics::Index16 , Physics::Index32 }

Functions

SizeT Physics::IndexSize (Physics::IndexType type)
 Byte size of an index type.
void Physics::SetGeometryLoader (const GeometryLoader &loader)
 register the geometry loader to use
const GeometryLoader & Physics::GetGeometryLoader ()
 get the currently registered geometry loader