-
Notifications
You must be signed in to change notification settings - Fork 67
Helper Namespaces
Nick McDonald edited this page May 23, 2020
·
2 revisions
These are a number of small namespaces that I have defined which contain useful code snippets for all kinds of things.
Core:
- object: Load .obj and .mtl files into the model utility class
- helper: Generally useful functions. Also a hash function for integers to receive a number in the range (0, 1)
- color: Color helper, with bezier color interpolation from color schemes
- image: Loading / saving images from files, constructing textures from raw data using user-defined methods.
Temporarily Removed:
- timer: Benchmarking and code execution on a timed cycle in a separate thread
- ease: A few ease functions
- input: Asynchronous (i.e. non-blocking) console input
- log: Logging helper for debugging
- parse: Command line argument parser
- draw: Pre-made methods for generating textures from raw data.
The removed namespaces can be found in past commits. Their code base is either too small or too specific / not used in any example files so their presence was not necessarily warranted. They were just something I popped in from other projects built using this engine, but weren't made specifically for the engine.