Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
rgb_t Struct Reference

#include <graphics.h>

Data Fields

unsigned char r
 
unsigned char g
 
unsigned char b
 

Detailed Description

A color struct, having 3 variables: r, g and b; each one an int from 0 to 255

Field Documentation

◆ b

unsigned char rgb_t::b

Blue component from RGB

◆ g

unsigned char rgb_t::g

Green component from RGB

◆ r

unsigned char rgb_t::r

Red component from RGB


The documentation for this struct was generated from the following files: