Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Raycaster ¶
type Raycaster struct {
// contains filtered or unexported fields
}
func NewRaycaster ¶
func NewRaycaster(rt RenderTarget, w World) *Raycaster
type RenderTarget ¶
type SpriteInstance ¶
type SpriteInstances ¶
type SpriteInstances []SpriteInstance
func (SpriteInstances) Len ¶
func (s SpriteInstances) Len() int
func (SpriteInstances) Less ¶
func (s SpriteInstances) Less(i, j int) bool
func (SpriteInstances) Swap ¶
func (s SpriteInstances) Swap(i, j int)
type Spritecaster ¶
type Spritecaster struct {
// contains filtered or unexported fields
}
func NewSpritecaster ¶
func NewSpritecaster(sprites SpriteInstances) *Spritecaster
func (*Spritecaster) Render ¶
func (sc *Spritecaster) Render(rc *Raycaster)
Click to show internal directories.
Click to hide internal directories.