Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ Rotation
Method
Rotation
server/entity/entity.go:161–163 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
159
}
160
161
func
(p *Entity) Rotation() (yaw, pitch float32) {
162
return
math.Float32frombits(p.yaw.Load()), math.Float32frombits(p.pitch.Load())
163
}
164
165
func
(p *Entity) OnGround() bool {
166
return
p.onGround.Load()
Callers
3
debug.go
File · 0.80
startGame
Method · 0.80
sync
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected