transformCanvasSpace

Change coordinate system from outside to inside the canvas.

  1. Vec2f transformCanvasSpace(Vec2f pos, Vec2f renderPos)
    Vec2f
    transformCanvasSpace
    (
    const Vec2f pos
    ,
    const Vec2f renderPos
    )
  2. Vec2f transformCanvasSpace(Vec2f pos)

Meta