NcEngine
Shape.h File Reference

Go to the source code of this file.

Classes

struct  nc::Shape
 Describes collision geometry for physics types. More...
 

Enumerations

enum class  nc::ShapeType : uint8_t {
  Box , Sphere , Capsule , ConvexHull ,
  Mesh , Compound
}
 Options for Shape geometry.
 

Functions

auto nc::NormalizeScaleForShape (nc::ShapeType shape, const Vector3 &currentScale, const Vector3 &newScale) -> Vector3
 Get a valid scale for a shape given its current and desired scale values.
 

Detailed Description