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 float32
CameraRotate float32
CameraTiltSpeed float32
CameraRotateSpeed float32
PrevMousePosition tetra3d.Vector3
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.