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