added more stuff and refactor
This commit is contained in:
16
src/main/java/DirectionalLight.java
Normal file
16
src/main/java/DirectionalLight.java
Normal file
@@ -0,0 +1,16 @@
|
||||
import org.joml.Vector3f;
|
||||
|
||||
public class DirectionalLight {
|
||||
public Vector3f direction;
|
||||
public Vector3f color;
|
||||
public float intensity;
|
||||
|
||||
public DirectionalLight (
|
||||
Vector3f direction,
|
||||
Vector3f color,
|
||||
float intensity) {
|
||||
this.direction = direction;
|
||||
this.color = color;
|
||||
this.intensity = intensity;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user