Esempio n. 1
0
 /// <summary>
 /// Check whether the source has moved after the last update
 /// </summary>
 /// <returns>True if the source has moved, false otherwise.</returns>
 public bool SourceHasMoved()
 {
     return(!ISMMath.PositionEQ(SourcePosition, oldSourcePosition));
 }
Esempio n. 2
0
 /// <summary>
 /// Check whether the listener has moved after the last update
 /// </summary>
 /// <returns>True if the listener has moved, false otherwise.</returns>
 public bool ListenerHasMoved()
 {
     return(!ISMMath.PositionEQ(ListenerPosition, oldListenerPos));
 }