summaryrefslogtreecommitdiff
path: root/engine/src/lighting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/lighting.rs')
-rw-r--r--engine/src/lighting.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/src/lighting.rs b/engine/src/lighting.rs
index 81dc475..48adb0e 100644
--- a/engine/src/lighting.rs
+++ b/engine/src/lighting.rs
@@ -19,6 +19,7 @@ pub struct PointLight
impl PointLight
{
+ #[must_use]
pub fn builder() -> PointLightBuilder
{
PointLightBuilder::default()
@@ -57,6 +58,7 @@ pub struct AttenuationParams
impl Default for AttenuationParams
{
+ #[must_use]
fn default() -> Self
{
Self {
@@ -81,6 +83,7 @@ pub struct DirectionalLight
impl DirectionalLight
{
+ #[must_use]
pub fn builder() -> DirectionalLightBuilder
{
DirectionalLightBuilder::default()