internal void Update() { if (Listener.Ptr == IntPtr.Zero) { return; } AudioLayer.ListenerPush3D(Listener, ref Position, ref forward, ref up, ref Velocity, ref WorldTransform); }
public unsafe void Update() { if (Listener.Ptr == IntPtr.Zero) { return; } AudioLayer.ListenerPush3D(Listener, (float *)Interop.Fixed(ref Position), (float *)Interop.Fixed(ref forward), (float *)Interop.Fixed(ref up), (float *)Interop.Fixed(ref Velocity)); }