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

#include <object.h>

Public Member Functions

 CudaBall ()=default
 
CUDA_CALLABLE_MEMBER CudaBall (const Vec &center, double radius)
 
CUDA_CALLABLE_MEMBER CudaBall (const Ball &b)
 
CUDA_CALLABLE_MEMBER void applyForce (CUDA_MASS *m)
 

Public Attributes

double _radius
 
Vec _center
 

Constructor & Destructor Documentation

◆ CudaBall() [1/3]

titan::CudaBall::CudaBall ( )
default

◆ CudaBall() [2/3]

CUDA_CALLABLE_MEMBER titan::CudaBall::CudaBall ( const Vec center,
double  radius 
)

◆ CudaBall() [3/3]

CUDA_CALLABLE_MEMBER titan::CudaBall::CudaBall ( const Ball b)

Member Function Documentation

◆ applyForce()

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

Member Data Documentation

◆ _center

Vec titan::CudaBall::_center

◆ _radius

double titan::CudaBall::_radius

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