remove deprication warnings

This commit is contained in:
James Seibel
2026-03-09 17:39:58 -05:00
parent 49e34d78a5
commit 2ea3d645e8
2 changed files with 40 additions and 3 deletions
@@ -35,9 +35,7 @@ public abstract class AbstractDebugWireframeRenderer implements IBindable
protected final PriorityBlockingQueue<BoxParticle> particles = new PriorityBlockingQueue<>();
// used when rendering
@Deprecated // all rendering should be done in a single pass
protected Mat4f dhMvmProjMatrixThisFrame;
@Deprecated // all rendering should be done in a single pass
protected Vec3f camPosFloatThisFrame;
@@ -319,5 +317,4 @@ public abstract class AbstractDebugWireframeRenderer implements IBindable
}
@@ -0,0 +1,40 @@
package com.seibel.distanthorizons.core.wrapperInterfaces.render;
import com.seibel.distanthorizons.api.objects.render.DhApiRenderableBox;
import java.util.List;
public interface IGenericObjectVertexBufferContainer extends AutoCloseable
{
void uploadDataToGpu();
void updateVertexData(List<DhApiRenderableBox> uploadBoxList);
EState getState();
void setState(EState state);
@Override
void close();
//================//
// helper classes //
//================//
//region
enum EState
{
NEW,
UPDATING_DATA,
READY_TO_UPLOAD,
RENDER,
ERROR,
}
//endregion
}