Skip to content
Snippets Groups Projects

Milestone 13 display system: Added HMD

Closed Jan Delember requested to merge feature/13_display_system into develop
41 files
+ 1019
225
Compare changes
  • Side-by-side
  • Inline

Files

@@ -66,7 +66,8 @@ int main(int, char**) {
material->SetShininess(200.0f);
phx::Transform* bunny_transform = bunny->AddComponent<phx::Transform>();
bunny_transform->SetLocalTranslation(glm::vec3(0.0f, -0.1f, 0.0f));
bunny_transform->SetLocalTranslation(glm::vec3(0.0f, +0.5f, 0.0f));
bunny_transform->SetLocalScale(glm::vec3(2, 2, 2));
bunny->AddComponent<RotationBehavior>();
@@ -84,7 +85,7 @@ int main(int, char**) {
auto camera_projection = camera->AddComponent<phx::Projection>();
camera_projection->SetPerspective(glm::radians(68.0f), 4.0f / 3.0f, 0.01f,
1000.0f);
camera_transform->SetLocalTranslation(glm::vec3(0, 0, 0.3));
camera_transform->SetLocalTranslation(glm::vec3(0, 0.7, 0.3));
phx::info("Some testing output:");
phx::info("Bunny: {}", *bunny);
Loading