This commit is contained in:
Tomasz Kaczmarek 2022-02-11 11:35:47 +01:00
parent 630a603e72
commit 75287d106e
11 changed files with 3 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1 @@
 main.cpp
C:\Users\Tomek\source\repos\Grafika\GrafikaProjekt\pliki\src\main.cpp(347,12): warning C4244: "argument": konwersja z "time_t" do "unsigned int", możliwa utrata danych
Camera.obj : warning LNK4075: zignorowano opcję „/EDITANDCONTINUE” z powodu określenia opcji „/INCREMENTAL:NO”
projekt.vcxproj -> C:\Users\Tomek\source\repos\Grafika\GrafikaProjekt\Debug\grk-cw6.exe
 projekt.vcxproj -> C:\Users\Tomek\source\repos\Grafika\GrafikaProjekt\Debug\grk-cw6.exe

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
#pragma once

View File

@ -298,7 +298,7 @@ void moveFish()
drawObjectTexture(clownfishContext, glm::translate(glm::vec3(0.05, -1, -0.2)) * glm::rotate(glm::degrees((float)fishMovement / (float)360), glm::vec3(0, -1, 0)) * glm::translate(glm::vec3(0.5, 2, (float)fishMovement / (float)360)), textureclownFish);
drawObjectTexture(clownfishContext, glm::translate(glm::vec3(0, -0.80, -0.1)) * glm::rotate(glm::degrees((float)fishMovement / (float)360), glm::vec3(0, -1, 0)) * glm::translate(glm::vec3(0.75, 2, (float)fishMovement / (float)360)), textureclownFish);
drawObjectTexture(clownfishContext, glm::translate(glm::vec3(0, -1.2, -0.5)) * glm::rotate(glm::degrees((float)fishMovement / (float)360), glm::vec3(0, -1, 0)) * glm::translate(glm::vec3(1, 2, (float)fishMovement / (float)360)), textureclownFish);
drawObjectTexture(bigfishContext, glm::translate(glm::vec3(1, 0, 2.5)) * glm::rotate(glm::degrees((float)fishMovement / (float)360), glm::vec3(0, -1, 0)) * glm::translate(glm::vec3(1, 2, (float)fishMovement / (float)360)), texturebigFish);
drawObjectTexture(bigfishContext, glm::translate(glm::vec3(-2, 0, 2.5)) * glm::rotate(glm::degrees((float)fishMovement / (float)360), glm::vec3(0, -1, 0)) * glm::translate(glm::vec3(1, 2, (float)fishMovement / (float)360)), texturebigFish);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB