Changeset 31628 in project
 Timestamp:
 10/09/14 01:53:29 (6 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/4/glmath
r31363 r31628 142 142 143 143 Invert {{MATRIX}}. If the matrix {{RESULT}} is given, it will be modified to contain the result. If {{RESULT}} is {{#t}}, {{MATRIX}} must be an f32vector and the returned value will be an f32vector located in nongarbagecollected memory (the memory will still be freed when there are no more references to the matrix). If {{RESULT}} is not provided, {{MATRIX}} must be an f32vector and the returned value will be an f32vector located in normal garbage collected memory. 144 145 <procedure> (fastinversetranspose MATRIX [RESULT])</procedure> 146 147 Efficiently inverse the transpose the unscaled {{MATRIX}}. If {{MATRIX}} has been scaled, this will produce incorrect results: {{inverse}} then {{transpose}} should be used instead. If the matrix {{RESULT}} is given, it will be modified to contain the result. If {{RESULT}} is {{#t}}, {{MATRIX}} must be an f32vector and the returned value will be an f32vector located in nongarbagecollected memory (the memory will still be freed when there are no more references to the matrix). If {{RESULT}} is not provided, {{MATRIX}} must be an f32vector and the returned value will be an f32vector located in normal garbage collected memory. 144 148 145 149 … … 221 225 222 226 ==== Quaternion operations 223 Quaternions are expected to be normalized before they are used in certain functions ({{quaternionnormalize }} may be used to do so). All the provided functions that create quaternions, create unit quaternions.227 Quaternions are expected to be normalized before they are used in certain functions ({{quaternionnormalize!}} may be used to do so). All the provided functions that create quaternions, create unit quaternions. 224 228 225 229 The order of quaternion crossmultiplication is the inverse of the âstandardâ order, so a quaternion that has undergone a series or rotations will represent the same rotation as a marix that has gone through the same series, in the same order. … … 333 337 === Version history 334 338 339 ==== Version 0.6.0 340 8 October 2014 341 342 * Add {{fastinversetranspose}} 343 344 335 345 ==== Version 0.5.2 336 346 10 September 2014 … … 400 410 === Licence 401 411 BSD 412
Note: See TracChangeset
for help on using the changeset viewer.