Long click to move; Boosty page on click before redirect

This commit is contained in:
utkabobr
2025-04-04 19:18:57 +03:00
parent 264e742d3a
commit 5f13961d05
13 changed files with 215 additions and 25 deletions
@@ -45,6 +45,7 @@ public class Bed3D {
private void configure(String path) {
Native.bed_configure(pointer, path);
Native.bed_init_triangles_mesh(pointer, triangles.pointer);
boundingVolume = Native.bed_get_bounding_volume(pointer);
min = max = null;
@@ -78,6 +79,10 @@ public class Bed3D {
return boundingVolume != null;
}
public GLModel.MeshRaycaster getRaycaster() {
return triangles.getRaycaster();
}
public void render(boolean bottom, double[] viewModelMatrix, double[] projectionMatrix, float invZoom) {
assertTrue(viewModelMatrix.length == 16);
assertTrue(projectionMatrix.length == 16);