Fixed many bugs
Added NzOpenGL::GetEntry Activated preprocessor error if not compiling with a C++11 compliant compiler Cube can now be constructed with a Rect Desactived utility option "threaded window" (bugged) Epured Image interface (No more UpdateFace, use Update with z = the face you are targetting) Fixed compilation errors (Thanks to RafBill) Fixed predefined colors not exported Fixed uplading pixels not aligned by 4 bytes Fixed Thumbs.db files not ignored by git NzImage now supports Filling and Flipping (Horizontally and vertically) NzImage::Get(Const)Pixels now support pixel location NzVector(2/3) can now return floatting distance/length with all types NzVector(2/3/4) can now be constructed by a vector of smaller dimension Premake now set "-std=c++11" build option for GCC Renamed NzImage::(Get/Set)Pixel to (Get/Set)PixelColor Updated new([])/delete([]) in the leaks tracker to the new C++11 signatures
This commit is contained in:
@@ -47,15 +47,15 @@ class NzColor
|
||||
|
||||
nzUInt8 r, g, b, a;
|
||||
|
||||
static const NzColor Black;
|
||||
static const NzColor Blue;
|
||||
static const NzColor Cyan;
|
||||
static const NzColor Green;
|
||||
static const NzColor Magenta;
|
||||
static const NzColor Orange;
|
||||
static const NzColor Red;
|
||||
static const NzColor Yellow;
|
||||
static const NzColor White;
|
||||
static NAZARA_API const NzColor Black;
|
||||
static NAZARA_API const NzColor Blue;
|
||||
static NAZARA_API const NzColor Cyan;
|
||||
static NAZARA_API const NzColor Green;
|
||||
static NAZARA_API const NzColor Magenta;
|
||||
static NAZARA_API const NzColor Orange;
|
||||
static NAZARA_API const NzColor Red;
|
||||
static NAZARA_API const NzColor Yellow;
|
||||
static NAZARA_API const NzColor White;
|
||||
|
||||
private:
|
||||
static float Hue2RGB(float v1, float v2, float vH);
|
||||
|
||||
Reference in New Issue
Block a user