joechenq / quimeraengine

Automatically exported from code.google.com/p/quimeraengine
0 stars 0 forks source link

Operator[] for accessing the components of vectors, quaternions and matrices #622

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add operator[] for QBaseVector2, QBaseVector3, QBaseVector4, QBaseQuaternion, 
QBaseMatrix2x2, QBaseMatrix3x3, QBaseMatrix4x3, QBaseMatrix3x4 and 
QBaseMatrix4x4. It allows to access all class members sequentially, avoiding 
the use of pointer arithmetic (more readability and less code). 

Original issue reported on code.google.com by Lince3D@gmail.com on 14 Nov 2014 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 9 Feb 2015 at 6:30