AlmasB / FXGL

Java / JavaFX / Kotlin Game Library (Engine)
http://almasb.github.io/FXGL/
MIT License
4.45k stars 556 forks source link

Cache 3D meshes where appropriate #1353

Open AlmasB opened 9 months ago

AlmasB commented 9 months ago

This needs considering where we can cache and where we can't. CustomShape3D is a starting point for consideration in FXGL

CylinderKey and PredefinedMeshManager implementations in JavaFX are good starting points for reference.