zalo / TetSim

Javascript Tetrahedral FEM Simulation
https://zalo.github.io/TetSim/
37 stars 8 forks source link

[FEAT] Update the Visual Mesh on the GPU as well #3

Closed zalo closed 3 years ago

zalo commented 3 years ago

This PR moves visual updates to the GPU (at the cost of some additional complexity in the quaternion solving step... (mostly incurred by exposing the quaternions to rotate the normals).

I'm not super happy with the additional complexity, but I am super happy with the additional performance.