toScenePoint

fnVec2 toScenePoint(Vec2 point, Camera camera)

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

fnVec2 toScenePoint(Vec2 point, Camera camera, Vec2 canvasSize)

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