|
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
|
Namespaces | |
| namespace | Deki |
Functions | |
| float | Deki::OrthoPixelsPerMeter (int screenHeight, float orthoHeight, bool pixelPerfect, float artPixelsPerMeter) |
| Screen pixels per meter for a screen this tall showing orthoHeight meters. | |
| int | Deki::PixelPerfectMultiple (float scale) |
| Whole art-pixel multiple for pixel-perfect scaling, at least 1. | |
| float | Deki::ScreenPixelsPerInch (int width, int height, float diagonalInches) |
| Pixels per inch of a screen width x height pixels whose diagonal is diagonalInches, taking the pixels as square. | |
Variables | |
| constexpr float | Deki::kMetersPerInch = 0.0254f |
| Inches are what screen makers give; everything stored is in meters. | |