Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartProfiling ¶
func StartProfiling()
Types ¶
type BasicFreeCam ¶
type BasicFreeCam struct { *tetra3d.Camera Scene *tetra3d.Scene CameraTilt float64 CameraRotate float64 PrevMousePosition tetra3d.Vector Locked bool }
BasicFreeCam represents a basic freely moving camera, which allows you to easily explore a scene.
func NewBasicFreeCam ¶
func NewBasicFreeCam(scene *tetra3d.Scene) BasicFreeCam
NewBasicFreeCam creates a new BasicFreeCam struct.
type BasicSystemHandler ¶
type BasicSystemHandler struct { DrawDebugText bool DrawDebugDepth bool DrawDebugWireframe bool DrawDebugCenters bool Game GameI UsingBasicFreeCam bool }
func NewBasicSystemHandler ¶
func NewBasicSystemHandler(game GameI) BasicSystemHandler
func (*BasicSystemHandler) Draw ¶
func (system *BasicSystemHandler) Draw(screen *ebiten.Image, camera *tetra3d.Camera)
func (*BasicSystemHandler) Update ¶
func (system *BasicSystemHandler) Update() error
Click to show internal directories.
Click to hide internal directories.