First update
This commit is contained in:
commit
292abf9a57
28 changed files with 1886 additions and 0 deletions
17
Diffuse light/src/fr/technicalgames/light/SpotLight.java
Normal file
17
Diffuse light/src/fr/technicalgames/light/SpotLight.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
package fr.technicalgames.light;
|
||||
|
||||
import fr.technicalgames.math.*;
|
||||
|
||||
public class SpotLight extends Light{
|
||||
|
||||
public SpotLight(Vector3f position, Vector3f intensities, float attenuation, float ambientCoefficient,
|
||||
float coneAngle, Vector3f coneDirection) {
|
||||
super(new Vector4f(position,1), intensities, attenuation, ambientCoefficient, coneAngle, coneDirection);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue