Delete src directory

This commit is contained in:
JoeMolinelli authored and GitHub committed 2026-08-14 23:19:08 -04:00
1 parent dbe9b0964d
commit a2791ddd91
44 files changed
-8408

No files matched your search

-34
View File
@@ -1,34 +0,0 @@
package components;
import org.joml.Vector2f;
import renderer.Texture;
public class Sprite {
private Texture texture;
private Vector2f[] texCoords;
public Sprite(Texture texture) {
this.texture = texture;
Vector2f[] texCoords = {
new Vector2f(1,0),
new Vector2f(1,1),
new Vector2f(0,1),
new Vector2f(0,0)
};
this.texCoords = texCoords;
}
public Sprite(Texture texture, Vector2f[] texCoords) {
this.texture = texture;
this.texCoords = texCoords;
}
public Texture getTexture() {
return this.texture;
}
public Vector2f[] getTexCoords() {
return this.texCoords;
}
}