minits progress

This commit is contained in:
luboslenco
2024-04-24 12:14:47 +02:00
parent 785daf7068
commit 6f27383e2c
46 changed files with 936 additions and 541 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ let float_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.5,
default_value: f32_array_create_x(0.5),
min: 0.0,
max: 10.0,
precision: 100,
@@ -79,7 +79,7 @@ let float_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.5,
default_value: f32_array_create_x(0.5),
min: 0.0,
max: 1.0,
precision: 100,
+6 -6
View File
@@ -145,7 +145,7 @@ let math_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.5,
default_value: f32_array_create_x(0.5),
min: 0.0,
max: 1.0,
precision: 100,
@@ -157,7 +157,7 @@ let math_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.5,
default_value: f32_array_create_x(0.5),
min: 0.0,
max: 1.0,
precision: 100,
@@ -171,7 +171,7 @@ let math_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -183,8 +183,8 @@ let math_node_def: zui_node_t = {
name: _tr("operation"),
type: "ENUM",
output: 0,
default_value: 0,
data: ["Add", "Subtract", "Multiply", "Divide", "Power", "Logarithm", "Square Root", "Inverse Square Root", "Absolute", "Exponent", "Minimum", "Maximum", "Less Than", "Greater Than", "Sign", "Round", "Floor", "Ceil", "Truncate", "Fraction", "Modulo", "Snap", "Ping-Pong", "Sine", "Cosine", "Tangent", "Arcsine", "Arccosine", "Arctangent", "Arctan2", "Hyperbolic Sine", "Hyperbolic Cosine", "Hyperbolic Tangent", "To Radians", "To Degrees"],
default_value: f32_array_create_x(0),
data: u8_array_create_from_string("Add\0Subtract\0Multiply\0Divide\0Power\0Logarithm\0Square Root\0Inverse Square Root\0Absolute\0Exponent\0Minimum\0Maximum\0Less Than\0Greater Than\0Sign\0Round\0Floor\0Ceil\0Truncate\0Fraction\0Modulo\0Snap\0Ping-Pong\0Sine\0Cosine\0Tangent\0Arcsine\0Arccosine\0Arctangent\0Arctan2\0Hyperbolic Sine\0Hyperbolic Cosine\0Hyperbolic Tangent\0To Radians\0To Degrees"),
min: 0.0,
max: 1.0,
precision: 100,
@@ -194,7 +194,7 @@ let math_node_def: zui_node_t = {
name: _tr("use_clamp"),
type: "BOOL",
output: 0,
default_value: false,
default_value: f32_array_create_x(0),
data: null,
min: 0.0,
max: 1.0,
+3 -3
View File
@@ -70,7 +70,7 @@ let random_node_def: zui_node_t = {
name: _tr("Min"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -82,7 +82,7 @@ let random_node_def: zui_node_t = {
name: _tr("Max"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 1.0,
default_value: f32_array_create_x(1.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -96,7 +96,7 @@ let random_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.5,
default_value: f32_array_create_x(0.5),
min: 0.0,
max: 1.0,
precision: 100,
+3 -3
View File
@@ -54,7 +54,7 @@ let separate_vector_node_def: zui_node_t = {
name: _tr("X"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -66,7 +66,7 @@ let separate_vector_node_def: zui_node_t = {
name: _tr("Y"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -78,7 +78,7 @@ let separate_vector_node_def: zui_node_t = {
name: _tr("Z"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
+3 -3
View File
@@ -40,7 +40,7 @@ let time_node_def: zui_node_t = {
name: _tr("Time"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -52,7 +52,7 @@ let time_node_def: zui_node_t = {
name: _tr("Delta"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -64,7 +64,7 @@ let time_node_def: zui_node_t = {
name: _tr("Brush"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
+3 -3
View File
@@ -192,7 +192,7 @@ let vector_math_node_def: zui_node_t = {
name: _tr("Value"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -204,8 +204,8 @@ let vector_math_node_def: zui_node_t = {
name: _tr("operation"),
type: "ENUM",
output: 0,
default_value: 0,
data: ["Add", "Subtract", "Multiply", "Divide", "Average", "Cross Product", "Project", "Reflect", "Dot Product", "Distance", "Length", "Scale", "Normalize", "Absolute", "Minimum", "Maximum", "Floor", "Ceil", "Fraction", "Modulo", "Snap", "Sine", "Cosine", "Tangent"],
default_value: f32_array_create_x(0),
data: u8_array_create_from_string("Add\0Subtract\0Multiply\0Divide\0Average\0Cross Product\0Project\0Reflect\0Dot Product\0Distance\0Length\0Scale\0Normalize\0Absolute\0Minimum\0Maximum\0Floor\0Ceil\0Fraction\0Modulo\0Snap\0Sine\0Cosine\0Tangent"),
min: 0.0,
max: 1.0,
precision: 100,
+3 -3
View File
@@ -70,7 +70,7 @@ let vector_node_def: zui_node_t = {
name: _tr("X"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -82,7 +82,7 @@ let vector_node_def: zui_node_t = {
name: _tr("Y"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,
@@ -94,7 +94,7 @@ let vector_node_def: zui_node_t = {
name: _tr("Z"),
type: "VALUE",
color: 0xffa1a1a1,
default_value: 0.0,
default_value: f32_array_create_x(0.0),
min: 0.0,
max: 1.0,
precision: 100,