X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-math;a=blobdiff_plain;f=src%2Fvector3.inl;h=03c8efe5b8ffaad63fe335ec766165ebed4eafeb;hp=8f6167c0537ed771648920e773676df9318eff52;hb=19e9cbd5ac2394b302a9e79b15cad8faf071b6e1;hpb=16f27fa9b94ad0a8a07c4e9a315d1aad2adc4e1a diff --git a/src/vector3.inl b/src/vector3.inl index 8f6167c..03c8efe 100644 --- a/src/vector3.inl +++ b/src/vector3.inl @@ -1,3 +1,12 @@ +/* +gph-math - math library for graphics programs +Copyright (C) 2016 John Tsiombikas + +This program is free software. Feel free to use, modify, and/or redistribute +it under the terms of the MIT/X11 license. See LICENSE for details. +If you intend to redistribute parts of the code without the LICENSE file +replace this paragraph with the full contents of the LICENSE file. +*/ inline void Vector3::normalize() { float len = (float)sqrt(x * x + y * y + z * z);