M2TrackValueAddress
function · models · orchestration
- Address
0x71aff0· 16 bytes, up to0x71afff- Meaning
- Returns the address of a 16-bit value in a track's value array
- Confidence
- verified, proof one
- Finding
- animation/tracks#value-codecs
- Test
animation::m2_animate_difftest
Finding: Value codecs in animation: tracks
A track's values come in five shapes. A vector is three floats (stride 12) and a scalar one float (stride 4);
both are a + (b − a) · t per component, a and b the values at k and k+1, summed at 53 bits and
narrowed once. A 16-bit fixed value is a signed word times the float 1/32767 (0x38000100); its step form is
f32(float(a) · S) and its linear form is f32(a·S + (b·S − a·S) · t) with the products kept at 53 bits.
A byte or a word is the value at k. The step form of a vector or scalar copies the value at k.
The derivation is in the doc.
Callers 1
- CM2Model::Animate models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.