cgv
Loading...
Searching...
No Matches
oriented_box.h
1#pragma once
2
3#include "fvec.h"
4#include "quaternion.h"
5
6namespace cgv {
7namespace math {
8
9template<typename T>
11 fvec<T, 2> center;
12 fvec<T, 2> extent;
13 T rotation;
14};
15
16template<typename T>
18 fvec<T, 3> center;
19 fvec<T, 3> extent;
20 quaternion<T> rotation;
21};
22
23} // namespace math
24} // namespace cgv
A vector with zero based index.
Definition fvec.h:27
implements a quaternion.
Definition quaternion.h:21
the cgv namespace
Definition print.h:11