17 lines
537 B
Zig
17 lines
537 B
Zig
const std = @import("std");
|
|
const math = std.math;
|
|
const print = std.debug.print;
|
|
const Activity = @import ("../activity.zig").Activity;
|
|
const SoundNode = @import("../soundnode.zig").SoundNode;
|
|
const utility = @import("../utility.zig");
|
|
const dbg = utility.dbg;
|
|
const idbg = utility.idbg;
|
|
|
|
pub fn setpos(self: *Activity) void {
|
|
|
|
self.soundnode.pins[61] = @as(f32, @floatCast(self.operands[0]));
|
|
self.soundnode.pins[62] = @as(f32, @floatCast(self.operands[1]));
|
|
self.soundnode.pins[63] = @as(f32, @floatCast(self.operands[2]));
|
|
|
|
|
|
}
|