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

#include <object.h>

Public Member Functions

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

Public Attributes

Vec _tangent
 
double _friction
 

Constructor & Destructor Documentation

◆ CudaDirection() [1/2]

titan::CudaDirection::CudaDirection ( )
default

◆ CudaDirection() [2/2]

CUDA_CALLABLE_MEMBER titan::CudaDirection::CudaDirection ( const Vec tangent,
double  friction 
)

Member Function Documentation

◆ applyForce()

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

Member Data Documentation

◆ _friction

double titan::CudaDirection::_friction

◆ _tangent

Vec titan::CudaDirection::_tangent

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