Add second penguin
parent
76e147e244
commit
c794912def
11
as4/as4.cpp
11
as4/as4.cpp
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in New Issue