mirror of
https://github.com/rwengine/openrw.git
synced 2025-04-28 21:08:05 +03:00
Remove RWTypes RGB and RGBA as they are unused
This commit is contained in:
parent
4490d91ee1
commit
23fc9bbbe8
1 changed files with 0 additions and 23 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue