* replaced the vector classes with a generic one
* fixed wrong member protection in Rect + override for DrawableImpl methods git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1537 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
7500786896
commit
42615a30d9
19 changed files with 503 additions and 364 deletions
|
@ -56,14 +56,11 @@ else
|
|||
*/
|
||||
struct Rect(T)
|
||||
{
|
||||
|
||||
private:
|
||||
T left; // Left coordinate of the rectangle
|
||||
T top; // Top coordinate of the rectangle
|
||||
T width; // width
|
||||
T height; // height
|
||||
|
||||
public:
|
||||
static if (!isIntegerType!(T) && !isRealType!(T))
|
||||
{
|
||||
static assert (0, "This type is not supported by Rectangle");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue