This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 3D Vector Class | |
| // Can also be used for 2D vectors | |
| // by ignoring the z value | |
| class Vec { | |
| public: | |
| union { | |
| float data[3]; | |
| struct { |
NewerOlder