X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-math;a=blobdiff_plain;f=src%2Fvector4.inl;h=8c5709a43a9eaab065319d49b23ca4f2cf1ed43a;hp=c37eed1c85d5c6ec5b37e0904ac9c46de48e7914;hb=19e9cbd5ac2394b302a9e79b15cad8faf071b6e1;hpb=16f27fa9b94ad0a8a07c4e9a315d1aad2adc4e1a diff --git a/src/vector4.inl b/src/vector4.inl index c37eed1..8c5709a 100644 --- a/src/vector4.inl +++ b/src/vector4.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 Vector4::normalize() { float len = (float)sqrt(x * x + y * y + z * z + w * w);