mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-12 05:53:51 -04:00
parent
4d62da9ae8
commit
3db8c22b5d
@ -1120,7 +1120,7 @@ pub const MeshSelection = struct { // MARK: MeshSelection
|
|||||||
c.glUniform1f(uniforms.lineSize, 1.0/128.0);
|
c.glUniform1f(uniforms.lineSize, 1.0/128.0);
|
||||||
|
|
||||||
c.glBindVertexArray(main.renderer.chunk_meshing.vao);
|
c.glBindVertexArray(main.renderer.chunk_meshing.vao);
|
||||||
c.glDrawElements(c.GL_TRIANGLES, 24*24, c.GL_UNSIGNED_INT, null);
|
c.glDrawElements(c.GL_TRIANGLES, 12*6*6, c.GL_UNSIGNED_INT, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn render(projectionMatrix: Mat4f, viewMatrix: Mat4f, playerPos: Vec3d) void {
|
pub fn render(projectionMatrix: Mat4f, viewMatrix: Mat4f, playerPos: Vec3d) void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user