| 2 | package com.badlogic.gdx; |
| 3 | |
| 4 | public abstract class AbstractGraphics implements Graphics { |
| 5 | |
| 6 | @Override |
| 7 | public float getRawDeltaTime () { |
| 8 | return getDeltaTime(); |
| 9 | } |
| 10 | |
| 11 | @Override |
| 12 | public float getDensity () { |
| 13 | float ppiX = getPpiX(); |
| 14 | return (ppiX > 0 && ppiX <= Float.MAX_VALUE) ? ppiX / 160f : 1f; |
| 15 | } |
| 16 | |
| 17 | @Override |
| 18 | public float getBackBufferScale () { |
| 19 | return getBackBufferWidth() / (float)getWidth(); |
| 20 | } |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected