Fixed typo: substract to subtract
This commit is contained in:
parent
5938466c84
commit
3996a05324
@ -221,7 +221,7 @@ godot_basis GDAPI godot_basis_operator_add(const godot_basis *p_self, const godo
|
|||||||
return raw_dest;
|
return raw_dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
godot_basis GDAPI godot_basis_operator_substract(const godot_basis *p_self, const godot_basis *p_b) {
|
godot_basis GDAPI godot_basis_operator_subtract(const godot_basis *p_self, const godot_basis *p_b) {
|
||||||
godot_basis raw_dest;
|
godot_basis raw_dest;
|
||||||
Basis *dest = (Basis *)&raw_dest;
|
Basis *dest = (Basis *)&raw_dest;
|
||||||
const Basis *self = (const Basis *)p_self;
|
const Basis *self = (const Basis *)p_self;
|
||||||
|
@ -181,7 +181,7 @@ godot_quat GDAPI godot_quat_operator_add(const godot_quat *p_self, const godot_q
|
|||||||
return raw_dest;
|
return raw_dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
godot_quat GDAPI godot_quat_operator_substract(const godot_quat *p_self, const godot_quat *p_b) {
|
godot_quat GDAPI godot_quat_operator_subtract(const godot_quat *p_self, const godot_quat *p_b) {
|
||||||
godot_quat raw_dest;
|
godot_quat raw_dest;
|
||||||
Quat *dest = (Quat *)&raw_dest;
|
Quat *dest = (Quat *)&raw_dest;
|
||||||
const Quat *self = (const Quat *)p_self;
|
const Quat *self = (const Quat *)p_self;
|
||||||
|
@ -207,7 +207,7 @@ godot_vector2 GDAPI godot_vector2_operator_add(const godot_vector2 *p_self, cons
|
|||||||
return raw_dest;
|
return raw_dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
godot_vector2 GDAPI godot_vector2_operator_substract(const godot_vector2 *p_self, const godot_vector2 *p_b) {
|
godot_vector2 GDAPI godot_vector2_operator_subtract(const godot_vector2 *p_self, const godot_vector2 *p_b) {
|
||||||
godot_vector2 raw_dest;
|
godot_vector2 raw_dest;
|
||||||
Vector2 *dest = (Vector2 *)&raw_dest;
|
Vector2 *dest = (Vector2 *)&raw_dest;
|
||||||
const Vector2 *self = (const Vector2 *)p_self;
|
const Vector2 *self = (const Vector2 *)p_self;
|
||||||
|
@ -224,7 +224,7 @@ godot_vector3 GDAPI godot_vector3_operator_add(const godot_vector3 *p_self, cons
|
|||||||
return raw_dest;
|
return raw_dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
godot_vector3 GDAPI godot_vector3_operator_substract(const godot_vector3 *p_self, const godot_vector3 *p_b) {
|
godot_vector3 GDAPI godot_vector3_operator_subtract(const godot_vector3 *p_self, const godot_vector3 *p_b) {
|
||||||
godot_vector3 raw_dest;
|
godot_vector3 raw_dest;
|
||||||
Vector3 *dest = (Vector3 *)&raw_dest;
|
Vector3 *dest = (Vector3 *)&raw_dest;
|
||||||
Vector3 *self = (Vector3 *)p_self;
|
Vector3 *self = (Vector3 *)p_self;
|
||||||
|
@ -387,7 +387,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "godot_vector2_operator_substract",
|
"name": "godot_vector2_operator_subtract",
|
||||||
"return_type": "godot_vector2",
|
"return_type": "godot_vector2",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
["const godot_vector2 *", "p_self"],
|
["const godot_vector2 *", "p_self"],
|
||||||
@ -663,7 +663,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "godot_quat_operator_substract",
|
"name": "godot_quat_operator_subtract",
|
||||||
"return_type": "godot_quat",
|
"return_type": "godot_quat",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
["const godot_quat *", "p_self"],
|
["const godot_quat *", "p_self"],
|
||||||
@ -907,7 +907,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "godot_basis_operator_substract",
|
"name": "godot_basis_operator_subtract",
|
||||||
"return_type": "godot_basis",
|
"return_type": "godot_basis",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
["const godot_basis *", "p_self"],
|
["const godot_basis *", "p_self"],
|
||||||
@ -1142,7 +1142,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "godot_vector3_operator_substract",
|
"name": "godot_vector3_operator_subtract",
|
||||||
"return_type": "godot_vector3",
|
"return_type": "godot_vector3",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
["const godot_vector3 *", "p_self"],
|
["const godot_vector3 *", "p_self"],
|
||||||
|
@ -111,7 +111,7 @@ godot_bool GDAPI godot_basis_operator_equal(const godot_basis *p_self, const god
|
|||||||
|
|
||||||
godot_basis GDAPI godot_basis_operator_add(const godot_basis *p_self, const godot_basis *p_b);
|
godot_basis GDAPI godot_basis_operator_add(const godot_basis *p_self, const godot_basis *p_b);
|
||||||
|
|
||||||
godot_basis GDAPI godot_basis_operator_substract(const godot_basis *p_self, const godot_basis *p_b);
|
godot_basis GDAPI godot_basis_operator_subtract(const godot_basis *p_self, const godot_basis *p_b);
|
||||||
|
|
||||||
godot_basis GDAPI godot_basis_operator_multiply_vector(const godot_basis *p_self, const godot_basis *p_b);
|
godot_basis GDAPI godot_basis_operator_multiply_vector(const godot_basis *p_self, const godot_basis *p_b);
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ godot_quat GDAPI godot_quat_operator_multiply(const godot_quat *p_self, const go
|
|||||||
|
|
||||||
godot_quat GDAPI godot_quat_operator_add(const godot_quat *p_self, const godot_quat *p_b);
|
godot_quat GDAPI godot_quat_operator_add(const godot_quat *p_self, const godot_quat *p_b);
|
||||||
|
|
||||||
godot_quat GDAPI godot_quat_operator_substract(const godot_quat *p_self, const godot_quat *p_b);
|
godot_quat GDAPI godot_quat_operator_subtract(const godot_quat *p_self, const godot_quat *p_b);
|
||||||
|
|
||||||
godot_quat GDAPI godot_quat_operator_divide(const godot_quat *p_self, const godot_real p_b);
|
godot_quat GDAPI godot_quat_operator_divide(const godot_quat *p_self, const godot_real p_b);
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ godot_vector2 GDAPI godot_vector2_clamped(const godot_vector2 *p_self, const god
|
|||||||
|
|
||||||
godot_vector2 GDAPI godot_vector2_operator_add(const godot_vector2 *p_self, const godot_vector2 *p_b);
|
godot_vector2 GDAPI godot_vector2_operator_add(const godot_vector2 *p_self, const godot_vector2 *p_b);
|
||||||
|
|
||||||
godot_vector2 GDAPI godot_vector2_operator_substract(const godot_vector2 *p_self, const godot_vector2 *p_b);
|
godot_vector2 GDAPI godot_vector2_operator_subtract(const godot_vector2 *p_self, const godot_vector2 *p_b);
|
||||||
|
|
||||||
godot_vector2 GDAPI godot_vector2_operator_multiply_vector(const godot_vector2 *p_self, const godot_vector2 *p_b);
|
godot_vector2 GDAPI godot_vector2_operator_multiply_vector(const godot_vector2 *p_self, const godot_vector2 *p_b);
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ godot_vector3 GDAPI godot_vector3_reflect(const godot_vector3 *p_self, const god
|
|||||||
|
|
||||||
godot_vector3 GDAPI godot_vector3_operator_add(const godot_vector3 *p_self, const godot_vector3 *p_b);
|
godot_vector3 GDAPI godot_vector3_operator_add(const godot_vector3 *p_self, const godot_vector3 *p_b);
|
||||||
|
|
||||||
godot_vector3 GDAPI godot_vector3_operator_substract(const godot_vector3 *p_self, const godot_vector3 *p_b);
|
godot_vector3 GDAPI godot_vector3_operator_subtract(const godot_vector3 *p_self, const godot_vector3 *p_b);
|
||||||
|
|
||||||
godot_vector3 GDAPI godot_vector3_operator_multiply_vector(const godot_vector3 *p_self, const godot_vector3 *p_b);
|
godot_vector3 GDAPI godot_vector3_operator_multiply_vector(const godot_vector3 *p_self, const godot_vector3 *p_b);
|
||||||
|
|
||||||
|
@ -390,7 +390,7 @@ PropertyInfo VisualScriptOperator::get_input_value_port_info(int p_idx) const {
|
|||||||
{ Variant::NIL, Variant::NIL }, //OP_GREATER_EQUAL,
|
{ Variant::NIL, Variant::NIL }, //OP_GREATER_EQUAL,
|
||||||
//mathematic
|
//mathematic
|
||||||
{ Variant::NIL, Variant::NIL }, //OP_ADD,
|
{ Variant::NIL, Variant::NIL }, //OP_ADD,
|
||||||
{ Variant::NIL, Variant::NIL }, //OP_SUBSTRACT,
|
{ Variant::NIL, Variant::NIL }, //OP_SUBTRACT,
|
||||||
{ Variant::NIL, Variant::NIL }, //OP_MULTIPLY,
|
{ Variant::NIL, Variant::NIL }, //OP_MULTIPLY,
|
||||||
{ Variant::NIL, Variant::NIL }, //OP_DIVIDE,
|
{ Variant::NIL, Variant::NIL }, //OP_DIVIDE,
|
||||||
{ Variant::NIL, Variant::NIL }, //OP_NEGATE,
|
{ Variant::NIL, Variant::NIL }, //OP_NEGATE,
|
||||||
@ -433,7 +433,7 @@ PropertyInfo VisualScriptOperator::get_output_value_port_info(int p_idx) const {
|
|||||||
Variant::BOOL, //OP_GREATER_EQUAL,
|
Variant::BOOL, //OP_GREATER_EQUAL,
|
||||||
//mathematic
|
//mathematic
|
||||||
Variant::NIL, //OP_ADD,
|
Variant::NIL, //OP_ADD,
|
||||||
Variant::NIL, //OP_SUBSTRACT,
|
Variant::NIL, //OP_SUBTRACT,
|
||||||
Variant::NIL, //OP_MULTIPLY,
|
Variant::NIL, //OP_MULTIPLY,
|
||||||
Variant::NIL, //OP_DIVIDE,
|
Variant::NIL, //OP_DIVIDE,
|
||||||
Variant::NIL, //OP_NEGATE,
|
Variant::NIL, //OP_NEGATE,
|
||||||
@ -474,7 +474,7 @@ static const char *op_names[] = {
|
|||||||
"GreaterEq", //OP_GREATER_EQUAL,
|
"GreaterEq", //OP_GREATER_EQUAL,
|
||||||
//mathematic
|
//mathematic
|
||||||
"Add", //OP_ADD,
|
"Add", //OP_ADD,
|
||||||
"Subtract", //OP_SUBSTRACT,
|
"Subtract", //OP_SUBTRACT,
|
||||||
"Multiply", //OP_MULTIPLY,
|
"Multiply", //OP_MULTIPLY,
|
||||||
"Divide", //OP_DIVIDE,
|
"Divide", //OP_DIVIDE,
|
||||||
"Negate", //OP_NEGATE,
|
"Negate", //OP_NEGATE,
|
||||||
@ -514,7 +514,7 @@ String VisualScriptOperator::get_text() const {
|
|||||||
L"A \u2265 B", //OP_GREATER_EQUAL,
|
L"A \u2265 B", //OP_GREATER_EQUAL,
|
||||||
//mathematic
|
//mathematic
|
||||||
L"A + B", //OP_ADD,
|
L"A + B", //OP_ADD,
|
||||||
L"A - B", //OP_SUBSTRACT,
|
L"A - B", //OP_SUBTRACT,
|
||||||
L"A x B", //OP_MULTIPLY,
|
L"A x B", //OP_MULTIPLY,
|
||||||
L"A \u00F7 B", //OP_DIVIDE,
|
L"A \u00F7 B", //OP_DIVIDE,
|
||||||
L"\u00AC A", //OP_NEGATE,
|
L"\u00AC A", //OP_NEGATE,
|
||||||
|
Loading…
Reference in New Issue
Block a user