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