feat: yaaay a triangle :)))
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
use crate::encoding;
|
||||
|
||||
pub fn math_node(args: &[i32]) -> (i32, i32) {
|
||||
pub fn math_node(args: &[i32]) -> i32 {
|
||||
let math_type = args[0];
|
||||
|
||||
let a = encoding::decode_float(args[1], args[2]);
|
||||
let b = encoding::decode_float(args[3], args[4]);
|
||||
let a = encoding::decode_float(args[1]);
|
||||
let b = encoding::decode_float(args[2]);
|
||||
|
||||
let result = match math_type {
|
||||
0 => a + b,
|
||||
|
||||
Reference in New Issue
Block a user