io: make ClearColor and FogColor Vec4f instead of 3
This commit is contained in:
@ -5,7 +5,8 @@ import "edgaru089.ml/go/gl01/internal/util/itype"
|
||||
var (
|
||||
DisplaySize itype.Vec2i // Size of the window viewport in pixels.
|
||||
|
||||
ClearColor itype.Vec3f // Clear color of the renderer.
|
||||
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.
|
||||
|
Reference in New Issue
Block a user