#define InvertVector( a ) ( a[0] = -a[0], a[1]=-a[1], a[2]=-a[2] )
Macro which can be used to make a vector's direction be exactly opposite of what it is now.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|