Normalize Zero Vector?
#4
Oh, it shouldn't be too hard to do that right?
x = (x == 0) ? 0 : (1 / x);
y = (y == 0) ? 0 : (1 / y);
z = (z == 0) ? 0 : (1 / z);

This code doesn't work.
Reply
Thanks given by:


Messages In This Thread
Normalize Zero Vector? - by DiamondToaster - 07-17-2015, 08:34 AM
RE: Normalize Zero Vector? - by NiLSPACE - 07-17-2015, 07:09 PM
RE: Normalize Zero Vector? - by DiamondToaster - 07-18-2015, 01:38 AM
RE: Normalize Zero Vector? - by NiLSPACE - 07-18-2015, 02:31 AM
RE: Normalize Zero Vector? - by DiamondToaster - 07-19-2015, 05:40 AM
RE: Normalize Zero Vector? - by NiLSPACE - 07-19-2015, 06:18 AM
RE: Normalize Zero Vector? - by xoft - 07-19-2015, 06:25 AM
RE: Normalize Zero Vector? - by DiamondToaster - 07-20-2015, 03:03 AM
RE: Normalize Zero Vector? - by xoft - 07-20-2015, 04:15 AM



Users browsing this thread: 3 Guest(s)