Harbor

branch main
showing the latest snapshot on main
constants.odin 636 B · Plain text
gpu/constants.odin 0644 Raw
package gpu

// Standard colors (RGBA floats)
WHITE     :: Color{1, 1, 1, 1}
BLACK     :: Color{0, 0, 0, 1}
RED       :: Color{1, 0, 0, 1}
GREEN     :: Color{0, 1, 0, 1}
BLUE      :: Color{0, 0, 1, 1}
YELLOW    :: Color{1, 1, 0, 1}
ORANGE    :: Color{1, 0.6, 0, 1}
PURPLE    :: Color{0.5, 0, 0.5, 1}
CYAN      :: Color{0, 1, 1, 1}
MAGENTA   :: Color{1, 0, 1, 1}
LIGHTGRAY :: Color{0.78, 0.78, 0.78, 1}
GRAY      :: Color{0.5, 0.5, 0.5, 1}
DARKGRAY  :: Color{0.31, 0.31, 0.31, 1}
BLANK     :: Color{0, 0, 0, 0}
CORNFLOWER_BLUE :: Color{0.392, 0.584, 0.929, 1}

// Engine defaults
DEFAULT_WINDOW_WIDTH  :: 800
DEFAULT_WINDOW_HEIGHT :: 600