4#include <math/seadVector.h>
8template <
typename VectorType>
16 :
mP0(VectorType::zero)
21 Segment(
const VectorType& p0,
const VectorType& p1)
56static_assert(
sizeof(
Segment2f) == 0x10,
"sead::Segment<T> size mismatch");
57static_assert(
sizeof(
Segment3f) == 0x18,
"sead::Segment<T> size mismatch");
Segment(const VectorType &p0, const VectorType &p1)
Definition seadLine.h:21
Segment()
Definition seadLine.h:15
void setPos0(const VectorType &p0)
Definition seadLine.h:32
VectorType mP1
Definition seadLine.h:49
const VectorType & getPos1() const
Definition seadLine.h:37
VectorType mP0
Definition seadLine.h:48
VectorType::ValueType T
Definition seadLine.h:12
void setPos1(const VectorType &p1)
Definition seadLine.h:42
const VectorType & getPos0() const
Definition seadLine.h:27
Definition seadAssert.h:44
Vector2< f32 > Vector2f
Definition seadVector.h:238
Vector3< f32 > Vector3f
Definition seadVector.h:239
Segment< Vector3f > Segment3f
Definition seadLine.h:53
Segment< Vector2f > Segment2f
Definition seadLine.h:52