Water.extm: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
(One intermediate revision by one other user not shown)
Line 29: Line 29:
|2
|2
|Unsigned Short
|Unsigned Short
|<code>xAxisFlowRate 128= no flow</code>
|<code>xAxisFlowRate</code> 128 = no flow
|-
|-
|0x04
|0x04
|2
|2
|Unsigned Short
|Unsigned Short
|<code>zAxisFlowRate 128= no flow</code>
|<code>zAxisFlowRate</code> 128 = no flow
|-
|-
|0x05
|0x05
Line 47: Line 47:
|}
|}


<code>height</code> and <code>flowSpeed</code> are stored as unsigned shorts, but seem to map to float values. These can be calculated by dividing by the max size of an unsigned short:
<code>height</code> and <code>flowRate</code> are stored as unsigned shorts, but seem to map to float values. These can be calculated by dividing by the max size of an unsigned short:


<syntaxhighlight lang="c" line="line">
<syntaxhighlight lang="c" line="line">
7

edits

Navigation menu