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
2000-01-23 03:04:22 +00:00

12 lines
315 B
Plaintext

--- 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;