Skip to content

Commit 20ad868

Browse files
authored
Add Vector3:Angle to type def (#278)
* Add Vector3:Angle to type def Adds the missing Vector3:Angle function to the type defs * added type to dumpRobloxTypes.py This didn't seem to get dumped properly
1 parent 2ab426a commit 20ad868

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/dumpRobloxTypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
# Extra members to add in to classes, commonly used to add in metamethods, and add corrections
213213
EXTRA_MEMBERS = {
214214
"Vector3": [
215+
"function Angle(self, other: Vector3, axis: Vector3?): number",
215216
"function __add(self, other: Vector3): Vector3",
216217
"function __sub(self, other: Vector3): Vector3",
217218
"function __mul(self, other: Vector3 | number): Vector3",

scripts/globalTypes.d.lua

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)