io: make ClearColor and FogColor Vec4f instead of 3

This commit is contained in:
2022-01-29 22:52:51 +08:00
parent 444697b205
commit 25872b257d
3 changed files with 7 additions and 5 deletions

View File

@ -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.