Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 852 vs 853 for /trunk/Source Code/Core/Math/Headers/MathVectors.h

Diff revisions: vs.
  @@ -366,6 +366,9 @@
366 366 inline vec2<T> Normalize(const vec2<T> &vector);
367 367 template <typename T>
368 368 inline T Dot(const vec2<T> &a, const vec2<T> &b);
369 + template <typename T>
370 + inline void OrthoNormalize(vec2<T> &v1, vec2<T> &v2);
371 +
369 372 /// multiply a vector by a value
370 373 template <typename T>
371 374 inline vec2<T> operator*(T fl, const vec2<T> &v);
  @@ -685,6 +688,9 @@
685 688 inline vec3<T> Inverse(const vec3<T> &v);
686 689 template <typename T>
687 690 inline vec3<T> operator*(T fl, const vec3<T> &v);
691 + template <typename T>
692 + inline void OrthoNormalize(vec3<T> &v1, vec3<T> &v2);
693 +
688 694 /*************************************************************************************
689 695 * vec4 - A 4-tuple used to represent things like a vector in 4D space
690 696 (w-component)