nowa mapka (mapk2.obj)
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user