Engine

package module
v0.0.0-...-ea97cfd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Camera = rl.Camera{

		Position: rl.NewVector3(0.0, 2, -10),
		Target:   rl.NewVector3(0.0, 0.0, 0.0),
		Up:       rl.NewVector3(0.0, 1.0, 0.0),
		Fovy:     75}
)

Functions

func CameraControl

func CameraControl(camera *rl.Camera)

func DrawScreen

func DrawScreen()

func LocalMatrix

func LocalMatrix(d *rl.Camera3D) (rl.Matrix, rl.Matrix)

func Render2D

func Render2D()

func Render3D

func Render3D()

func RotateCamera

func RotateCamera(camera *rl.Camera3D, lock bool)

func Wireframe

func Wireframe(center rl.Vector3, size float32)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL