diff options
Diffstat (limited to 'src/Quaternions.h')
-rw-r--r-- | src/Quaternions.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Quaternions.h b/src/Quaternions.h index f1fbe6b..e01740a 100644 --- a/src/Quaternions.h +++ b/src/Quaternions.h @@ -43,17 +43,16 @@ extern "C" { #endif // __cplusplus float dotProduct(struct XYZ, struct XYZ); float sqrlen(struct XYZ); + float len(struct XYZ); struct XYZ crossProduct(struct XYZ, struct XYZ); struct XYZ normalize(struct XYZ); void reflect(struct XYZ*, struct XYZ); bool segmentIntersectsSphere(struct XYZ, struct XYZ, struct XYZ, float); + struct XYZ rotate(struct XYZ, float, float, float); float LineFacetd(struct XYZ p1, struct XYZ p2, struct XYZ pa, struct XYZ pb, struct XYZ pc, struct XYZ n, struct XYZ *p); - struct XYZ DoRotation(struct XYZ thePoint, - float xang, float yang, float zang); - float findDistance(struct XYZ point1, struct XYZ point2); void getFrustum(float (*)[4]); int cubeInFrustum(float (*)[4], float, float, float, float); |