gl01/internal/io/io.go

17 lines
599 B
Go

package io
import "edgaru089.ml/go/gl01/internal/util/itype"
var (
DisplaySize itype.Vec2i // Size of the window viewport in pixels.
ClearColor itype.Vec4f // Clear color of the renderer.
FogColor itype.Vec4f // Color of the fog. Changes if the player is e.g. under water
// Directions are not always normalized.
ViewPos, ViewDir itype.Vec3d // Position and Direction of the player view.
RenderPos, RenderDir itype.Vec3d // Position and Direction of view for the current render pass. Might be different for e.g. lighting passes
ShowDebugInfo bool // Show debug info (F3 screen)?
)