1
0
forked from josh/j3ml
Files
j3ml-fork/include/J3ML/LinearAlgebra/AxisAngle.h
2023-12-29 01:02:57 -05:00

18 lines
409 B
C++

#pragma once
#include <J3ML/LinearAlgebra.h>
#include <J3ML/LinearAlgebra/Vector3.h>
namespace LinearAlgebra
{
/// Transitional datatype, not useful for internal representation of rotation
/// But has uses for conversion and manipulation.
class AxisAngle {
Vector3 axis;
float angle;
public:
AxisAngle();
AxisAngle(const Vector3& axis, float angle);
};
}