Skip to content

Commit

Permalink
fix: MacOS compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoferreira committed May 25, 2024
1 parent ea35825 commit d250cca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generator/src/SolarSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ namespace generator::solarsystem
1000.0f // far
);

world.getLights().push_back(world::lighting::PointLight(Vec3f(0, 0, 0)));
auto middle_light = world::lighting::PointLight();
middle_light.pos = Vec3f{0, 0, 0};
world.getLights().push_back(middle_light);

auto sphere_id = world.AddModelName("sphere_1_20_20.3d");
auto sphere_low_poly_id = world.AddModelName("sphere_1_10_10.3d");
Expand Down

0 comments on commit d250cca

Please sign in to comment.