Skip to content

Commit

Permalink
Add missing OP_POWER operator to Variant
Browse files Browse the repository at this point in the history
  • Loading branch information
AThousandShips committed Jan 6, 2024
1 parent dd62b96 commit f037a69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions binding_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,7 @@ def get_operator_id_name(op):
"unary-": "negate",
"unary+": "positive",
"%": "module",
"**": "power",
"<<": "shift_left",
">>": "shift_right",
"&": "bit_and",
Expand Down
1 change: 1 addition & 0 deletions include/godot_cpp/variant/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class Variant {
OP_NEGATE,
OP_POSITIVE,
OP_MODULE,
OP_POWER,
// bitwise
OP_SHIFT_LEFT,
OP_SHIFT_RIGHT,
Expand Down

0 comments on commit f037a69

Please sign in to comment.