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.
 

Public Attributes

const ConvexObjectAmObjectA
 
const ConvexObjectBmObjectB
 

Detailed Description

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

Structure that performs a Minkowski difference A - B.

Constructor & Destructor Documentation

◆ MinkowskiDifference()

Member Function Documentation

◆ GetSupport()

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

Calculate the support vector for this convex shape.

Member Data Documentation

◆ mObjectA

◆ mObjectB


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