Titan  v1.0
A high-performance CUDA-based physics simulation sandbox for robotics, physics, and reinforcement learning.
vec.h File Reference
#include <iostream>
#include <cuda_runtime.h>
#include <cuda.h>
#include <cmath>
#include <vector>

Go to the source code of this file.

Classes

class  titan::Vec
 

Namespaces

 titan
 

Macros

#define CUDA_CALLABLE_MEMBER
 
#define CUDA_DEVICE
 

Functions

CUDA_CALLABLE_MEMBER double titan::dot (const Vec &a, const Vec &b)
 
CUDA_CALLABLE_MEMBER Vec titan::cross (const Vec &v1, const Vec &v2)
 

Macro Definition Documentation

◆ CUDA_CALLABLE_MEMBER

#define CUDA_CALLABLE_MEMBER

◆ CUDA_DEVICE

#define CUDA_DEVICE