toCanvasPoint

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

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

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

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