17    static constexpr type None                       = 0;      
 
   18    static constexpr type HasScalingTransformation   = 1 << 0; 
 
   19    static constexpr type HasIsometricTransformation = 1 << 1; 
 
   20    static constexpr type IsStaticCompound           = 1 << 2; 
 
   27    ShapeDecorationFlags::type decorations = ShapeDecorationFlags::None;
 
   36            unsigned char buffer[8];
 
   70        auto GetShapeData() const -> const 
ShapeStorage& { 
return m_storage; }
 
   74        ShapeStorage m_storage;
 
ShapeType
Options for Shape geometry.
Definition: Shape.h:15
Handle to a processed Shape instance.
Definition: CookedShape.h:32
auto HasShape() const noexcept -> bool
Check if the internal shape is still valid (e.g. hasn't been moved from).
void SetPositionAndRotation(const Vector3 &position, const Quaternion &rotation)
Partially recook the shape with a new position and rotation.
auto GetProperties() const -> CookedShapeProperties
Get the type and decorations of the CookedShape.
auto GetPosition() const -> Vector3
Get the shape's translation (will be the origin, unless the shape was cooked with a position).
CookedShape(const ShapeStorage &cookedData)
Construct from existing cooked data.
CookedShape(const Shape &shape)
Cook from a Shape.
auto GetRotation() const -> Quaternion
Get the shape's rotation (will be identity, unless the shape was cooked with a rotation).
CookedShape(const Shape &shape, const Vector3 &position, const Quaternion &rotation)
Cook from a Shape, applying additional transformations.
Definition: CookedShape.h:35
Properties of a CookedShape.
Definition: CookedShape.h:25
Quaternion type for representing 3D rotations.
Definition: Quaternion.h:13
Flags describing internal structure of a CookedShape.
Definition: CookedShape.h:14
Describes collision geometry for physics types.
Definition: Shape.h:31
A three component vector.
Definition: Vector.h:29