Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.

This commit is contained in:
Branimir Karadžić
2014-10-25 18:07:51 -07:00
parent 3947174959
commit 208a348ab2
16 changed files with 82 additions and 37 deletions

View File

@@ -365,7 +365,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
//mtxIdentity(mtx);
mtx[12] = -2.5f + float(xx)*2.5f;
mtx[13] = -2.5f + float(yy)*2.5f;
mtx[14] = -2.5f + float(zz)*2.5f; //0.0f; // sinf(time + ( (xx+1)*(yy+1)/9.0f)*float(M_PI) )*50.0f+50.0f; //90.0f - (xx+1)*(yy+1)*10.0f;
mtx[14] = -2.5f + float(zz)*2.5f;
// Set transform for draw call.
bgfx::setTransform(mtx);