Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderPlayerInMap ¶
func RenderPlayerInMap(cx *Context)
func RenderPseudo3D ¶
func RenderPseudo3D(cx *Context)
func RenderRays ¶
func RenderRays(cx *Context)
Types ¶
type Context ¶
type Context struct { Map [][]Tile Walls map[Colision]Tile Colisions []Colision MapHeight int MapWidth int FunnyMode bool MapDeScale int Rays []Position Player Position PlayerLookingAt float64 }
func (*Context) GetRectSize ¶
type ContretePosition ¶
type ContretePosition struct {
X, Y int
}
Click to show internal directories.
Click to hide internal directories.