Added shared library support.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
class Color4
|
||||
class EHS_LIB_IO Color4
|
||||
{
|
||||
public:
|
||||
float r;
|
||||
@@ -15,15 +15,15 @@ namespace ehs
|
||||
|
||||
Color4();
|
||||
|
||||
Color4(const float scalar);
|
||||
Color4(float scalar);
|
||||
|
||||
explicit Color4(const Color3& color);
|
||||
|
||||
Color4(const float r, const float g, const float b, const float a = 1.0f);
|
||||
Color4(float r, float g, float b, float a = 1.0f);
|
||||
|
||||
Color4(const Color4& color);
|
||||
|
||||
Color4& operator=(const float scalar);
|
||||
Color4& operator=(float scalar);
|
||||
|
||||
Color4& operator=(const Color3& color);
|
||||
|
||||
@@ -33,9 +33,9 @@ namespace ehs
|
||||
|
||||
bool operator!=(const Color4& color) const;
|
||||
|
||||
float operator[](const UInt_64 i) const;
|
||||
float operator[](UInt_64 i) const;
|
||||
|
||||
float& operator[](const UInt_64 i);
|
||||
float& operator[](UInt_64 i);
|
||||
|
||||
Color4& operator*=(const Color4& color);
|
||||
|
||||
|
Reference in New Issue
Block a user