org.rajawali3d.renderer / Renderer / screenToCartesian

screenToCartesian

open fun screenToCartesian(screenX: Float, screenY: Float): PointF!

converts screen coordinates (y increases downwards) to cartesian (y increases upwards) coordinates

Parameters

screenX - Float: float screen X position, in pixels.

screenY - Float: float screen Y position, in pixels.

open fun screenToCartesian(screenX: Float, screenY: Float): PointF!

converts screen coordinates (y increases downwards) to cartesian (y increases upwards) coordinates

Parameters

screenX - Float: float screen X position, in pixels.

screenY - Float: float screen Y position, in pixels.