1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/xinvaders3d/files/patch-ac

12 lines
315 B
Plaintext
Raw Normal View History

--- vec4x1.c.orig Thu Jan 20 23:26:05 2000
+++ vec4x1.c Fri Jan 21 23:16:28 2000
@@ -160,7 +160,7 @@
{
float len;
- len = (float) sqrt ( (a[0] * a[0]) + (a[1] * a[1]) + (a[2] * a[2]) );
+ len = (float) sqrt ( (a[0] * a[0]) + (a[1] * a[1]) + (a[2] * a[2]) ) + 0.00001;
a[0] /= len;
a[1] /= len;