Skip to content

Commit

Permalink
Minor changes to clouds and normal list
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jul 10, 2024
1 parent 31a0855 commit 1472fec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ public AlignableNormal getNormal() {
}

private double normalDotDouble(Vector3dc v) {
return Math.fma((double) this.normal.x, v.x(),
Math.fma((double) this.normal.y, v.y(),
(double) this.normal.z * v.z()));
return org.joml.Math.fma(this.normal.x, v.x(),
org.joml.Math.fma(this.normal.y, v.y(),
this.normal.z * v.z()));
}

void processMovement(SortTriggering ts, CameraMovement movement) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,11 +627,11 @@ private int getCellIndex(int x, int z) {
}
}

private record CloudGeometry(VertexBuffer vertexBuffer, CloudGeometryParameters params) {
public record CloudGeometry(VertexBuffer vertexBuffer, CloudGeometryParameters params) {

}

private record CloudGeometryParameters(int originX, int originZ, int radius, int orientation, CloudStatus renderMode) {
public record CloudGeometryParameters(int originX, int originZ, int radius, int orientation, CloudStatus renderMode) {

}
}

0 comments on commit 1472fec

Please sign in to comment.