# Table of mathematical types and their operations for unification #106680

Open
opened 2023-04-07 18:08:32 +02:00 by Iliya Katushenock · 0 comments
Member

Bool, Int, Float
Scalar, Vector2, Vector3, Color
Matrix, Rotation

In future, node group templating allows you to change the data type without changing the topology of the node group.
In the long term, the grouping of mathematical operations should be based on operations.

That is, there should be no math for int, float, matrix, or rotation, but:

• The math should be simple, working for all types (+, -, *, ...).
• The math is a bit more complex (!, ^, ..).
• Math radial (sin, cos, ...).
• Math of complex types (inversion, length, ...).

Thus, the node should not depend on the data type.
But operations must be defined by all the types that the node can work with.

This task is about designing how already existing operations and types should be grouped, as well as how existing nodes should be changed in order to have mocked nodes of mathematical operations.

Bool, Int, Float Scalar, Vector2, Vector3, Color Matrix, Rotation In future, node group templating allows you to change the data type without changing the topology of the node group. In the long term, the grouping of mathematical operations should be based on operations. That is, there should be no math for int, float, matrix, or rotation, but: - The math should be simple, working for all types (+, -, *, ...). - The math is a bit more complex (!, ^, ..). - Math radial (sin, cos, ...). - Math of complex types (inversion, length, ...). Thus, the node should not depend on the data type. But operations must be defined by all the types that the node can work with. This task is about designing how already existing operations and types should be grouped, as well as how existing nodes should be changed in order to have mocked nodes of mathematical operations.
added the label 2023-04-07 18:08:32 +02:00
added this to the Nodes & Physics project 2023-04-07 18:08:33 +02:00
added the label 2023-07-09 11:53:16 +02:00
No Label
No Milestone
No project
No Assignees
1 Participants