Very unstable and broken XML loader added.

This commit is contained in:
MusicalProgrammer
2018-10-28 21:00:34 -04:00
parent 6ec4ab466d
commit d0b0ffd7f1
10 changed files with 620 additions and 20 deletions

View File

@@ -56,9 +56,9 @@ void PhysicalInstance::setSize(Vector3 newSize)
if(sizex > 512)
sizex = 512;
int sizey = (int)newSize.y;
float sizey = newSize.y;
if(sizey <= 0)
sizey = 1;
sizey = 0.4;
if(sizey > 512)
sizey = 512;