From: <gl...@mo...> - 2008-08-25 21:39:07
|
> 1) Should we provide -Mul and -Div for vectors? Depends if this math library is graphics-related ;) It also depends on whenever we're defining matmemathical operations or software functions in this library. Isn't glmMatRotateYPR3 obsolete since there are glmMatRotate[X|Y|Z]3 functions defined? Will only Mat3 have Scale and ScaleUniform defined? Vector's Scale function is actually equivalent to ScaleUniform function for matrix. Should vectors have both Scale and ScaleUniform functions defined instead? If yes, then Mul and Div become obsolete. Should we have: glmMatRotate3f(GLMmat3f *out, const GLMvec3f* axis, GLfloat angle); or rather: glmMatRotate3f(GLMmat3f *out, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); ? Please note that these questions are not in our issue list unless Henri H. sees them as worth considering. > 2) Should we use short naming convention or is the current convention fine? Full operation names are better (subjective opinion), with the exception of "Subtract" :) > 4) Should we have the dimension of the type in the end of the entry-point > (like in OpenGL) or in the middle? Both are equally fine and referring either to Vec<n> data type or function operating on <n> components, but dimension placed at end makes for a nice separator between operation name and data type postfix. |