Add second penguin

master
John Montagu, the 4th Earl of Sandvich 2026-03-01 23:18:38 -08:00
parent 76e147e244
commit c794912def
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 8 additions and 3 deletions

View File

@ -125,9 +125,14 @@ int main() {
p1.position = raylib::Vector3(0, 0, 0);
Entity &p2 = entities.emplace_back();
p2.model = &eagle;
p2.type = Entity::EntityType::Eagle;
p2.position = raylib::Vector3(200, 200, 0);
p2.model = &penguin;
p2.type = Entity::EntityType::Penguin;
p2.position = raylib::Vector3(100, 0, 0);
Entity &p3 = entities.emplace_back();
p3.model = &eagle;
p3.type = Entity::EntityType::Eagle;
p3.position = raylib::Vector3(200, 200, 0);
// penguin physics
raylib::Vector3 position = { 0, 0, 0 };