Skip to content

Commit 13bfc70

Browse files
committed
Isaac.RenderToWorld
1 parent a54dfe4 commit 13bfc70

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/docs/repentogon_changes/Isaac.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,13 @@ end
426426
---@param scale? Vector @default: `Vector.One`
427427
---@param color? Color @default: `Color.Default`
428428
function Isaac.RenderCollectionItem(itemId, pos, scale, color)
429+
end
430+
431+
---Transfers Render coordinates into World coordinates.
432+
---
433+
---Unlike `Isaac.ScreenToWorld` (which transfers Window coordinates into World coordinates), this is the true inverse of `Isaac.WorldToScreen` (which transfers World coordinates into Render coordinates).
434+
---
435+
---More information can be obtained on [repentogon.com](https://repentogon.com/Isaac.html#rendertoworld)
436+
---@param pos Vector
437+
function Isaac.RenderToWorld(pos)
429438
end

0 commit comments

Comments
 (0)