Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
MinkowskiDifference< ConvexObjectA, ConvexObjectB > Struct Template Reference

Structure that performs a Minkowski difference A - B. More...

#include <ConvexSupport.h>

Public Member Functions

 MinkowskiDifference (const ConvexObjectA &inObjectA, const ConvexObjectB &inObjectB)
 
Vec3 GetSupport (Vec3Arg inDirection) const
 Calculate the support vector for this convex shape. More...
 

Public Attributes

const ConvexObjectA & mObjectA
 
const ConvexObjectB & mObjectB
 

Detailed Description

template<typename ConvexObjectA, typename ConvexObjectB>
struct MinkowskiDifference< ConvexObjectA, ConvexObjectB >

Structure that performs a Minkowski difference A - B.

Constructor & Destructor Documentation

◆ MinkowskiDifference()

template<typename ConvexObjectA , typename ConvexObjectB >
MinkowskiDifference< ConvexObjectA, ConvexObjectB >::MinkowskiDifference ( const ConvexObjectA &  inObjectA,
const ConvexObjectB &  inObjectB 
)
inline

Member Function Documentation

◆ GetSupport()

template<typename ConvexObjectA , typename ConvexObjectB >
Vec3 MinkowskiDifference< ConvexObjectA, ConvexObjectB >::GetSupport ( Vec3Arg  inDirection) const
inline

Calculate the support vector for this convex shape.

Member Data Documentation

◆ mObjectA

template<typename ConvexObjectA , typename ConvexObjectB >
const ConvexObjectA& MinkowskiDifference< ConvexObjectA, ConvexObjectB >::mObjectA

◆ mObjectB

template<typename ConvexObjectA , typename ConvexObjectB >
const ConvexObjectB& MinkowskiDifference< ConvexObjectA, ConvexObjectB >::mObjectB

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