Nebula
Loading...
Searching...
No Matches
cooking.cc File Reference
#include "foundation/stdneb.h"
#include "physics/cooking.h"
#include "physics/physxstate.h"
#include "math/scalar.h"

Namespaces

namespace  Physics
 Diverse functions for manipulating physics actors.

Functions

bool Physics::CookMesh (const MeshGeometryInput &input, PxGeometryHolder &out)
Util::Array< CookedConvex > Physics::CookApproxSkin (const MeshGeometryInput &input)
 Cook one convex hull per bone from skinned geometry.
bool Physics::CookHeightField (const HeightFieldInput &input, float heightRange, float targetSizeX, float targetSizeZ, PxGeometryHolder &out)
 The samples are unsigned, 0 is the bottom of the field and 65535 is heightRange above it, the same as a unorm heightmap.