Normalize Zero Vector?
#9
(updated your post to use the correct code tag)

Basically, yes, but you don't want to compare to zero exactly, you want to compare to an epsilon (abs(Len) < EPS) to accommodate for numerical inaccuracy.
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: 1 Guest(s)