17 lines
375 B
Java
17 lines
375 B
Java
|
|
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;
|
||
|
|
}
|
||
|
|
}
|