toScenePoint

fnVec2 toScenePoint(Vec2 point, Camera camera) @safe @trusted nothrow @nogc

Converts a canvas point to a scene point using the given camera and resolution.

fnVec2 toScenePoint(Vec2 point, Camera camera, Vec2 canvasSize) @safe @trusted nothrow @nogc

Converts a canvas point to a scene point using the given camera and canvas size.