Skip to content

Commit

Permalink
Lua: Vector property parity with UE naming
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jun 28, 2024
1 parent ab95587 commit 6eecdb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua-api/lib/src/datatypes/Vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ namespace lua::datatypes {
"x", &name::x, \
"y", &name::y, \
"z", &name::z, \
"X", &name::x, \
"Y", &name::y, \
"Z", &name::z, \
"dot", [](name& v1, name& v2) { return glm::dot(v1, v2); }, \
"cross", [](name& v1, name& v2) { return glm::cross(v1, v2); }, \
"length", [](name& v) { return glm::length(v); }, \
Expand Down

0 comments on commit 6eecdb9

Please sign in to comment.