only creating a new Plane() and setting the water height uniform when the water height changes. Also got rid of the redundant dot() product and Vector3f allocation in the process.
only creating a new Plane() and setting the water height uniform when the water height changes. Also got rid of the redundant dot() product and Vector3f allocation in the process.