szapp / GothicFreeAim

Free aiming for the video game series Gothic
https://gfa.szapp.de
MIT License
36 stars 4 forks source link

Remove debugging visualizations (Draw3D) from default initialization #190

Closed szapp closed 5 years ago

szapp commented 6 years ago

Visualizing the trace ray, trajectory and (oriented) bounding boxes is only necessary during development when debugging. Requiring to always initialize LeGo with the Draw3D package is unnecessary and also demands the dependency on the PermMem package.

The functions around the debugging visualizations should check if the Draw3D package is initialized before performing any actions making it optional (and by default not included).