This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
cobjects:cway2_bin [2011-07-21 21:53] edheldil |
cobjects:cway2_bin [2011-07-21 21:55] edheldil |
||
---|---|---|---|
Line 10: | Line 10: | ||
| 0x10 | 4 | Int | Unknown. Usually 0 | | | 0x10 | 4 | Int | Unknown. Usually 0 | | ||
| 0x14 | 4 | Float32 | Distance between nodes. Usually between 20-40, often 0 | | | 0x14 | 4 | Float32 | Distance between nodes. Usually between 20-40, often 0 | | ||
- | | 0x18 | 4 | Float32 | Angle from Node0 to Node1 in radians, 0-2*PI.\\ The oddity is that identical nodes have angle PI instead of 0.0.\\ Also the precision is only 0.001 Rad. | | + | | 0x18 | 4 | Float32 | Angle from Node0 to Node1 in radians, 0-2*PI.\\ Unlike atan2() identical nodes have angle PI instead of 0.0.\\ Also the precision is only 0.001 Rad. | |
| 0x1C | 4 | Int |Node0 - index to the list of [[CWAY1_bin]] nodes | | | 0x1C | 4 | Int |Node0 - index to the list of [[CWAY1_bin]] nodes | | ||
| 0x20 | 4 | Int |Node1 - index to the list of [[CWAY1_bin]] nodes. Sometimes equals Node0 | | | 0x20 | 4 | Int |Node1 - index to the list of [[CWAY1_bin]] nodes. Sometimes equals Node0 | | ||