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:
parent
4490d91ee1
commit
23fc9bbbe8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user