3 ms·
Also not OP, but I work on graphics software and we frequently deal with different units and use strict naming systems and occasionally types to differentiate t
by wffurr 5y ago
Also not OP, but I work on graphics software and we frequently deal with different units and use strict naming systems and occasionally types to differentiate them.
Even more fun is that sometimes units alone aren't sufficient. We need to know which coordinate system the units are being used in: screen, world, document, object-local, etc. It's amazing how many different coordinate systems you can come up with...
Or which time stream a timestamp comes from, input times, draw times (both of which are usually uptime values from CLOCK_MONOTONIC) or wall times.
- ReleaseCandidat 5y agoAs a bonus, coordinate systems can be left-handed or right-handed, and the axes point in different directions (relevant when loading models for example).