Titan
v1.0
A high-performance CUDA-based physics simulation sandbox for robotics, physics, and reinforcement learning.
|
#include <object.h>
Public Member Functions | |
CudaBall ()=default | |
CUDA_CALLABLE_MEMBER | CudaBall (const Vec ¢er, double radius) |
CUDA_CALLABLE_MEMBER | CudaBall (const Ball &b) |
CUDA_CALLABLE_MEMBER void | applyForce (CUDA_MASS *m) |
Public Attributes | |
double | _radius |
Vec | _center |
|
default |
CUDA_CALLABLE_MEMBER titan::CudaBall::CudaBall | ( | const Vec & | center, |
double | radius | ||
) |
CUDA_CALLABLE_MEMBER titan::CudaBall::CudaBall | ( | const Ball & | b | ) |
CUDA_CALLABLE_MEMBER void titan::CudaBall::applyForce | ( | CUDA_MASS * | m | ) |
Vec titan::CudaBall::_center |
double titan::CudaBall::_radius |