Includes the sum in the error thrown when trying to create a texture (#4159)
* Includes the sum in the error thrown when trying to create a texture from a base using an invalid rectangle

* Casts quantities to type number in Rectangle constructor
1 parent bf34151 commit 3bae55b62041bf7fe89bad8c2950339d7681ac1a
@Carlos David G. Nexans Carlos David G. Nexans authored on 13 Jul 2017
Chad Engler committed on 13 Jul 2017
Showing 3 changed files
View
src/core/math/shapes/Rectangle.js
View
src/core/textures/Texture.js
View
test/core/Rectangle.js