reset default camera rotation

This commit is contained in:
yangxiao 2014-08-14 09:06:06 +08:00
parent b4ec344bcf
commit 7bfd636b16
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ bool Camera::initDefault()
{
initOrthographic(size.width, size.height, -1024, 1024);
setPosition3D(Vec3(0.0f, 0.0f, 0.0f));
setRotation3D(Vec3(0.f, 0.f, 0.f));
break;
}
case Director::Projection::_3D: