public void DrawWireframeCube_(Game game, float posx, float posy, float posz, float scalex, float scaley, float scalez) { game.platform.GLLineWidth(2); game.platform.BindTexture2d(0); if (wireframeCube == null) { ModelData data = WireframeCube.Get(); wireframeCube = game.platform.CreateModel(data); } game.GLPushMatrix(); game.GLTranslate(posx, posy, posz); float half = one / 2; game.GLScale(scalex * half, scaley * half, scalez * half); game.DrawModel(wireframeCube); game.GLPopMatrix(); }