Changeset 31628 in project


Ignore:
Timestamp:
10/09/14 01:53:29 (6 years ago)
Author:
acharlton
Message:

wiki/gl-math: Update to 0.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/gl-math

    r31363 r31628  
    142142
    143143Invert {{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 non-garbage-collected 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> (fast-inverse-transpose MATRIX [RESULT])</procedure>
     146
     147Efficiently 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 non-garbage-collected 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.
    144148
    145149
     
    221225
    222226==== Quaternion operations
    223 Quaternions are expected to be normalized before they are used in certain functions ({{quaternion-normalize}} may be used to do so). All the provided functions that create quaternions, create unit quaternions.
     227Quaternions are expected to be normalized before they are used in certain functions ({{quaternion-normalize!}} may be used to do so). All the provided functions that create quaternions, create unit quaternions.
    224228
    225229The order of quaternion cross-multiplication 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.
     
    333337=== Version history
    334338
     339==== Version 0.6.0
     3408 October 2014
     341
     342* Add {{fast-inverse-transpose}}
     343
     344
    335345==== Version 0.5.2
    33634610 September 2014
     
    400410=== Licence
    401411BSD
     412
Note: See TracChangeset for help on using the changeset viewer.