feat(graphics): clean unused method
package engine.graphics.light;
-import engine.graphics.shader.ShaderResource;
import org.joml.Vector3f;
import org.lwjgl.system.MemoryStack;
@@ -13,17 +12,6 @@ public class PointLight extends Light {
private float klinear;
private float kquadratic;
- public void bind(ShaderResource proxy, String fieldName) {
- proxy.setUniform(fieldName + ".filled", true);
- proxy.setUniform(fieldName + ".position", position);
- proxy.setUniform(fieldName + ".constant", kconstant);
- proxy.setUniform(fieldName + ".linear", klinear);
- proxy.setUniform(fieldName + ".quadratic", kquadratic);
- proxy.setUniform(fieldName + ".light.ambient", ambient);
- proxy.setUniform(fieldName + ".light.diffuse", diffuse);
- proxy.setUniform(fieldName + ".light.specular", specular);
- }
-
@Override
public ByteBuffer get(MemoryStack stack) {
return get(stack.malloc(20 * Float.BYTES));
