Commit a33ab428 authored by Numanoglu's avatar Numanoglu
Browse files

Make BVH node fields final

parent 44154e1d
Pipeline #12398 passed with stage
in 2 minutes and 2 seconds
......@@ -5,9 +5,9 @@ import java.util.List;
public class Node<E> {
private List<Node<E>> children = new ArrayList<>();
private AABB aabb;
private E element;
private final List<Node<E>> children = new ArrayList<>();
private final AABB aabb;
private final E element;
public Node(E element, AABB aabb) {
this.aabb = aabb;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment