PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "pointerEventList.h"
#include "indent.h"
#include "config_event.h"
#include "clockObject.h"
#include "deg_2_rad.h"
#include "cmath.h"
Go to the source code of this file.
Functions | |
double | delta_angle (double angle1, double angle2) |
Compute the difference between two angles. More... | |
double | normalize_angle (double angle) |
Compute the difference between two angles. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file pointerEventList.cxx.
|
inline |
Compute the difference between two angles.
Returns a value in the range -180 to 180.
Definition at line 27 of file pointerEventList.cxx.
|
inline |
Compute the difference between two angles.
Returns a value in the range -180 to 180.
Definition at line 39 of file pointerEventList.cxx.