Пример #1
0
 public static unsafe void Listener(ALListenerfv param, ref Vector3 at, ref Vector3 up)
 {
     fixed(float *values = &new float[6]
     {
         at.X,
         at.Y,
         at.Z,
         up.X,
         up.Y,
         up.Z
     }[0])
     AL.ListenerPrivate(param, values);
 }
Пример #2
0
 public static unsafe void Listener(ALListenerfv param, ref float[] values)
 {
     fixed(float *values1 = &values[0])
     AL.ListenerPrivate(param, values1);
 }