System.Numerics provides Vector3 and Vector4 structures, as well as Matrixes, and all the possible operations.
Those classes are also optimized to use SIMD operations in the CPU.
After the actual exercise of the book is complete, it might be a good idea to try and replace the primitives implemented from scratch in chapters 1-4 with these purpose mades classes
System.Numerics provides Vector3 and Vector4 structures, as well as Matrixes, and all the possible operations. Those classes are also optimized to use SIMD operations in the CPU.
After the actual exercise of the book is complete, it might be a good idea to try and replace the primitives implemented from scratch in chapters 1-4 with these purpose mades classes