Titan  v1.0
A high-performance CUDA-based physics simulation sandbox for robotics, physics, and reinforcement learning.
titan::CudaConstraintPlane Struct Reference

#include <object.h>

Public Member Functions

 CudaConstraintPlane ()=default
 
CUDA_CALLABLE_MEMBER CudaConstraintPlane (const Vec &normal, double friction)
 
CUDA_CALLABLE_MEMBER void applyForce (CUDA_MASS *m)
 

Public Attributes

Vec _normal
 
double _friction
 

Constructor & Destructor Documentation

◆ CudaConstraintPlane() [1/2]

titan::CudaConstraintPlane::CudaConstraintPlane ( )
default

◆ CudaConstraintPlane() [2/2]

CUDA_CALLABLE_MEMBER titan::CudaConstraintPlane::CudaConstraintPlane ( const Vec normal,
double  friction 
)

Member Function Documentation

◆ applyForce()

CUDA_CALLABLE_MEMBER void titan::CudaConstraintPlane::applyForce ( CUDA_MASS m)

Member Data Documentation

◆ _friction

double titan::CudaConstraintPlane::_friction

◆ _normal

Vec titan::CudaConstraintPlane::_normal

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