X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-math;a=blobdiff_plain;f=src%2Fvector2.inl;h=0e915857791b785bc21b29b761d2873cab8785e5;hp=64aa0c473542c4111016d7904d14f38e1dbd4e97;hb=19e9cbd5ac2394b302a9e79b15cad8faf071b6e1;hpb=16f27fa9b94ad0a8a07c4e9a315d1aad2adc4e1a diff --git a/src/vector2.inl b/src/vector2.inl index 64aa0c4..0e91585 100644 --- a/src/vector2.inl +++ b/src/vector2.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 Vector2::normalize() { float len = (float)sqrt(x * x + y * y);