added imguizmo; subraster handling etc

This commit is contained in:
aap
2017-12-31 10:50:49 +01:00
parent 578c5f81fb
commit ddca04fdc2
20 changed files with 2170 additions and 45 deletions

View File

@@ -492,7 +492,7 @@ Camera::setFOV(float32 hfov, float32 ratio)
w = 1;
h = 1;
}
hfov = hfov*3.14159f/360.0f; // deg to rad
hfov = hfov*3.14159f/360.0f; // deg to rad and halved
float ar1 = 4.0/3.0;
float ar2 = w/h;