feat(title): paleta neon synthwave per element a l'escena de títol
This commit is contained in:
@@ -94,7 +94,7 @@ namespace Graphics {
|
||||
.rotation_euler = Vec3{.x = star.rot_phase_x, .y = star.rot_phase_y, .z = 0.0F},
|
||||
.scale = star.scale,
|
||||
};
|
||||
drawWireframe(renderer_, *camera_, octahedron_, TRANSFORM, computeBrightness(star));
|
||||
drawWireframe(renderer_, *camera_, octahedron_, TRANSFORM, computeBrightness(star), color_);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,4 +102,8 @@ namespace Graphics {
|
||||
brightness_mult_ = std::max(0.0F, multiplier);
|
||||
}
|
||||
|
||||
void Starfield::setColor(SDL_Color color) {
|
||||
color_ = color;
|
||||
}
|
||||
|
||||
} // namespace Graphics
|
||||
|
||||
Reference in New Issue
Block a user