QTM:GetHeadtrackingInfo: Difference between revisions

 
Line 53: Line 53:
| 0xC
| 0xC
| 0x20
| 0x20
| 8 float fields.
| 4 coordinate entries: head top-left, head bottom-right, head bottom-left, and head top-right.
|-
|-
| 0x2C
| 0x2C
Line 61: Line 61:


The total size of this structure is 0x40-bytes.
The total size of this structure is 0x40-bytes.
==Coordinate entry==
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
| 0x0
| 0x4
| float x
|-
| 0x4
| 0x4
| float y
|}
The total entry size is 0x8-bytes. The range for these two floats are -1.0f..1.0.f. These are relative to the center of the screen.