toCanvasPoint

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

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

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

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