Loading...
Searching...
No Matches
vec.h
Go to the documentation of this file.
1#ifndef _BBM_ENOKI_VEC_H_
2#define _BBM_ENOKI_VEC_H_
3
4#include "backbone/array.h"
5
6/***********************************************************************/
7/*! \file vec.h
8
9 \brief Defines 2D, and 3D vectors as aliases to enoki arrays.
10************************************************************************/
11
12namespace backbone {
13
14 template<typename T>
15 using vec2d = enoki::Array<T, 2>;
16
17 template<typename T>
18 using vec3d = enoki::Array<T, 3>;
19
20} // end backbone namespace
21
22#endif /* _BBM_ENOKI_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