mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-22 13:19:44 +00:00
Angelica 2.0
* GLStateManagerService & RenderSystemService * Wire up Celeritas * Iris working * Dynamic lights working * Goodbye Sodium 0.2 * Add Multi-Threading for check meshing again
This commit is contained in:
1 parent
e5e8250d44
commit
be90a01725
354 files changed
+5257
-15599
No files matched your search
-14
@@ -41,20 +41,6 @@ class RecordingDataStructuresTest {
|
||||
assertEquals(GL11.GL_QUADS, cmd.primitiveType());
|
||||
}
|
||||
|
||||
@Test
|
||||
void testRecordedGeometryCreation() {
|
||||
ByteBuffer buffer = ByteBuffer.allocate(16);
|
||||
DrawCommand cmd1 = new DrawCommand(0, 4, GL11.GL_QUADS);
|
||||
DrawCommand cmd2 = new DrawCommand(4, 3, GL11.GL_TRIANGLES);
|
||||
List<DrawCommand> commands = Arrays.asList(cmd1, cmd2);
|
||||
|
||||
RecordedGeometry geom = new RecordedGeometry(buffer, null, commands, 7);
|
||||
assertEquals(buffer, geom.buffer());
|
||||
assertEquals(commands, geom.drawCommands());
|
||||
assertEquals(7, geom.totalVertexCount());
|
||||
assertEquals(16, geom.getByteSize());
|
||||
}
|
||||
|
||||
@Test
|
||||
void testCompiledDisplayListCreation() {
|
||||
// Create a display list with PushMatrix, Scale, PopMatrix
|
||||
|
||||
Reference in new issue
Block a user