nowa mapka (mapk2.obj)

This commit is contained in:
2024-12-09 12:25:08 +01:00
parent 633be80ec4
commit 495ec2e6ab
4 changed files with 1103 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ void SetDCPixelFormat(HDC hDC) {
}
lazik user(10.0f, 0.0f, 0.0f, "res/models/lazik4.obj");
plane mapa(0.0f, 0.0f, 0.0f, "res/models/mapka.obj");
plane mapa(0.0f, 0.0f, 0.0f, "res/models/mapka2.obj");
void SetupRC() {
// Light values and coordinates
@@ -303,7 +303,7 @@ void RenderScene(void) {
// prymitywny licznik FPS
if (monitormode) {
std::time_t now_t = std::time(nullptr);
// yRot -= 1; // showcase demo
yRot -= 1; // showcase demo
if (now_t > monitormodehelper) {
std::cout << (int)(monitormodecounter / (now_t - monitormodehelper)) << " fps\n";
monitormodehelper = now_t;