dodanie stacji
This commit is contained in:
parent
67658b98c8
commit
13187436fa
21294
models/spaceStation.obj
Normal file
21294
models/spaceStation.obj
Normal file
File diff suppressed because it is too large
Load Diff
@ -191,7 +191,7 @@ void renderScene()
|
||||
|
||||
//STATION
|
||||
drawObjectColor(&stationContext, glm::rotate(time / 2.0f, glm::vec3(0, 1, 0)) * glm::translate(glm::vec3(0, 0, 200)) * glm::scale(glm::vec3(5)), glm::vec3(0.5));
|
||||
|
||||
|
||||
//EARTH nieruchoma - ³atwiejsze dla naszej cutscenki
|
||||
drawObjectTexture(&sphereContext, glm::scale(glm::vec3(45)), textureEarthHighres);
|
||||
|
||||
@ -221,7 +221,7 @@ void init()
|
||||
shipModel = obj::loadModelFromFile("models/ship_orbita.obj");
|
||||
shipContext.initFromOBJ(shipModel);
|
||||
|
||||
stationModel = obj::loadModelFromFile("models/box.obj");
|
||||
stationModel = obj::loadModelFromFile("models/spaceStation.obj");
|
||||
stationContext.initFromOBJ(stationModel);
|
||||
|
||||
sphereModel = obj::loadModelFromFile("models/sphere.obj");
|
||||
|
Loading…
Reference in New Issue
Block a user