Documentation ¶
Index ¶
- type World
- func (w *World) Block(pos Vec3) *block.Block
- func (w *World) BlockChunk(block Vec3) types.IChunk
- func (w *World) Chunk(id Vec3) types.IChunk
- func (w *World) Chunks(ids []Vec3) []types.IChunk
- func (w *World) Collide(pos mgl32.Vec3) (mgl32.Vec3, bool)
- func (w *World) HasBlock(id Vec3) bool
- func (w *World) HitTest(pos mgl32.Vec3, vec mgl32.Vec3) (*Vec3, *Vec3)
- func (w *World) UpdateBlock(id Vec3, tp *block.Block)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type World ¶
type World struct {
// contains filtered or unexported fields
}
func (*World) BlockChunk ¶
func (*World) UpdateBlock ¶
Click to show internal directories.
Click to hide internal directories.