Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
colorspace.h File Reference
#include "dx8wrapper.h"
#include <wwmath.h>

Go to the source code of this file.

Macros

#define COLORSPACE_H
 

Functions

void RGB_To_HSV (Vector3 &hsv, const Vector3 &rgb)
 
void HSV_To_RGB (Vector3 &rgb, const Vector3 &hsv)
 
void Recolor (Vector3 &rgb, const Vector3 &hsv_shift)
 
void Recolor (unsigned &rgba, const Vector3 &hsv_shift)
 

Macro Definition Documentation

◆ COLORSPACE_H

#define COLORSPACE_H

Definition at line 44 of file colorspace.h.

Function Documentation

◆ HSV_To_RGB()

void HSV_To_RGB ( Vector3 & rgb,
const Vector3 & hsv )
inline

Definition at line 87 of file colorspace.h.

◆ Recolor() [1/2]

void Recolor ( unsigned & rgba,
const Vector3 & hsv_shift )
inline

Definition at line 152 of file colorspace.h.

◆ Recolor() [2/2]

void Recolor ( Vector3 & rgb,
const Vector3 & hsv_shift )
inline

Definition at line 131 of file colorspace.h.

◆ RGB_To_HSV()

void RGB_To_HSV ( Vector3 & hsv,
const Vector3 & rgb )
inline

Definition at line 57 of file colorspace.h.