numerics 0.1.0
Loading...
Searching...
No Matches
num::viz::Color Struct Reference

#include <viz.hpp>

Public Attributes

uint8_t r = 0
 
uint8_t g = 0
 
uint8_t b = 0
 
uint8_t a = 255
 

Detailed Description

Definition at line 38 of file viz.hpp.

Member Data Documentation

◆ a

uint8_t num::viz::Color::a = 255

Definition at line 39 of file viz.hpp.

Referenced by num::viz::lerp_color(), and num::viz::to_rl().

◆ b

uint8_t num::viz::Color::b = 0

Definition at line 39 of file viz.hpp.

Referenced by num::viz::lerp_color(), and num::viz::to_rl().

◆ g

uint8_t num::viz::Color::g = 0

Definition at line 39 of file viz.hpp.

Referenced by num::viz::lerp_color(), and num::viz::to_rl().

◆ r

uint8_t num::viz::Color::r = 0

Definition at line 39 of file viz.hpp.

Referenced by num::viz::from_rl(), num::viz::lerp_color(), and num::viz::to_rl().


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