46 } |
46 } |
47 this->compiler->initialize(); |
47 this->compiler->initialize(); |
48 this->compiler->build(this->model, this->documents); |
48 this->compiler->build(this->model, this->documents); |
49 this->initializeLighting(); |
49 this->initializeLighting(); |
50 this->initialized = true; |
50 this->initialized = true; |
51 this->modelQuaternion = glm::angleAxis(glm::radians(30.0f), glm::vec3{1, 0, 0}); |
51 this->modelQuaternion = glm::angleAxis(glm::radians(30.0f), glm::vec3{-1, 0, 0}); |
52 this->modelQuaternion *= glm::angleAxis(glm::radians(330.0f), glm::vec3{0, 1, 0}); |
52 this->modelQuaternion *= glm::angleAxis(glm::radians(225.0f), glm::vec3{-0, 1, 0}); |
53 this->updateViewMatrix(); |
53 this->updateViewMatrix(); |
54 glLineWidth(2.0); |
54 glLineWidth(2.0); |
55 this->update(); |
55 this->update(); |
56 } |
56 } |
57 |
57 |