Skip to content

Added metamethod to divide a vector by a number#8

Open
Chr1Z93 wants to merge 1 commit intoBerserk-Games:masterfrom
Chr1Z93:patch-1
Open

Added metamethod to divide a vector by a number#8
Chr1Z93 wants to merge 1 commit intoBerserk-Games:masterfrom
Chr1Z93:patch-1

Conversation

@Chr1Z93
Copy link

@Chr1Z93 Chr1Z93 commented Aug 12, 2025

Example:

local vec = Vector(3, 2, 1)
local half = vec / 2 -- (1.5, 1, 0.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants