1
D / Unable to set position
« on: April 07, 2016, 08:09:37 pm »
Hello.
In my code when I do:
mySprite.position = new Vector2(x, y);
I have this error:
Error: struct dsfml.system.vector2.Vector2(T) if (isNumeric!T) is used as a type
dmd failed with exit code 1.
x and y are int.
What's incorrect ? What should I do ?
i'm using DSFML 2.1
In my code when I do:
mySprite.position = new Vector2(x, y);
I have this error:
Error: struct dsfml.system.vector2.Vector2(T) if (isNumeric!T) is used as a type
dmd failed with exit code 1.
x and y are int.
What's incorrect ? What should I do ?
i'm using DSFML 2.1