Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
AddConvexRadius< ConvexObject > Struct Template Reference

Structure that adds a convex radius. More...

#include <ConvexSupport.h>

Public Member Functions

 AddConvexRadius (const ConvexObject &inObject, float inRadius)
 
Vec3 GetSupport (Vec3Arg inDirection) const
 Calculate the support vector for this convex shape. More...
 

Public Attributes

const ConvexObject & mObject
 
float mRadius
 

Detailed Description

template<typename ConvexObject>
struct AddConvexRadius< ConvexObject >

Structure that adds a convex radius.

Constructor & Destructor Documentation

◆ AddConvexRadius()

template<typename ConvexObject >
AddConvexRadius< ConvexObject >::AddConvexRadius ( const ConvexObject &  inObject,
float  inRadius 
)
inline

Member Function Documentation

◆ GetSupport()

template<typename ConvexObject >
Vec3 AddConvexRadius< ConvexObject >::GetSupport ( Vec3Arg  inDirection) const
inline

Calculate the support vector for this convex shape.

Member Data Documentation

◆ mObject

template<typename ConvexObject >
const ConvexObject& AddConvexRadius< ConvexObject >::mObject

◆ mRadius

template<typename ConvexObject >
float AddConvexRadius< ConvexObject >::mRadius

The documentation for this struct was generated from the following file: