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.x = @as(f32, @floatCast(self.operands[0])); self.soundnode.y = @as(f32, @floatCast(self.operands[1])); self.soundnode.z = @as(f32, @floatCast(self.operands[2])); }