Loading...
Searching...
No Matches
vec.h
Go to the documentation of this file.
1#ifndef _BBM_DRJIT_VEC_H_
2#define _BBM_DRJIT_VEC_H_
3
4/************************************************************************/
5/*! \file vec.h
6
7 \brief Defines 2D and 3D vectors as aliases to drjit arrays.
8*************************************************************************/
9
10namespace backbone {
11
12 template<typename T>
13 using vec2d = drjit::Array<T,2>;
14
15 template<typename T>
16 using vec3d = drjit::Array<T,3>;
17
18} // end backbone namespace
19
20#endif /* _BBM_DRJIT_VEC_H_ */
Random number generator; built on top of Drjit.
Definition: backbone.h:53
drjit::Array< T, 3 > vec3d
Definition: vec.h:16
drjit::Array< T, 2 > vec2d
Definition: vec.h:13