1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-06 09:07:19 +02:00

Remove RWTypes RGB and RGBA as they are unused

This commit is contained in:
Daniel Evans 2018-01-30 01:18:44 +00:00
parent 4490d91ee1
commit 23fc9bbbe8

View File

@ -29,27 +29,4 @@
#define WORLD_GRID_WIDTH (WORLD_GRID_SIZE / WORLD_CELL_SIZE)
#define WORLD_GRID_CELLS (WORLD_GRID_WIDTH * WORLD_GRID_WIDTH)
namespace RWTypes {
/**
* @struct RGB
* Stores 8 bit RGB data
*/
struct RGB {
uint8_t r, g, b;
operator glm::vec3() {
return glm::vec3(r, g, b) / 255.f;
}
};
/**
* @struct RGBA
* Stores 8 bit RGBA data
*/
struct RGBA {
uint8_t r, g, b, a;
};
}
#endif