Axis Angle
Provides a helper structure for conversion to quaternions.
#include <graphics/axisang.h>
-
struct axisang
-
void axisang_copy(struct axisang *dst, struct axisang *aa)
Copies an axis angle.
- Parameters:
dst – Axis angle to copy to
aa – Axis angle to copy from
-
void axisang_set(struct axisang *dst, float x, float y, float z, float w)
Sets an axis angle.
- Parameters:
dst – Axis angle to set
x – X axis
y – Y axis
z – Z axis
w – Angle