(x, y, z float64)
| 136 | } |
| 137 | |
| 138 | func (p *Entity) SetPosition(x, y, z float64) { |
| 139 | p.x.Store(math.Float64bits(x)) |
| 140 | p.y.Store(math.Float64bits(y)) |
| 141 | p.z.Store(math.Float64bits(z)) |
| 142 | } |
| 143 | |
| 144 | func (p *Entity) SetRotation(yaw, pitch float32) { |
| 145 | p.yaw.Store(math.Float32bits(yaw)) |
no outgoing calls
no test coverage detected