(f float32)
| 118 | } |
| 119 | |
| 120 | func roundToward(f float32) int { |
| 121 | if f >= 0 { |
| 122 | return int(f + 0.5) |
| 123 | } |
| 124 | return int(f - 0.5) |
| 125 | } |
| 126 | |
| 127 | // EffectiveX: SCREEN X = world→screen projection + bob. |
| 128 | func (n *Note) EffectiveX(zoom int) int { |
no outgoing calls
no test coverage detected