Browse Source

minor change to comment

David Rose 19 years ago
parent
commit
e8329c6988
1 changed files with 4 additions and 2 deletions
  1. 4 2
      panda/src/linmath/lvector3_src.I

+ 4 - 2
panda/src/linmath/lvector3_src.I

@@ -183,7 +183,8 @@ cross(const FLOATNAME(LVecBase3) &other) const {
 //     Function: LVector::angle_rad
 //     Function: LVector::angle_rad
 //       Access: Published
 //       Access: Published
 //  Description: Returns the angle between this vector and the other
 //  Description: Returns the angle between this vector and the other
-//               one, expressed in radians.
+//               one, expressed in radians.  Both vectors should be
+//               initially normalized.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 INLINE_LINMATH FLOATTYPE FLOATNAME(LVector3)::
 INLINE_LINMATH FLOATTYPE FLOATNAME(LVector3)::
 angle_rad(const FLOATNAME(LVector3) &other) const {
 angle_rad(const FLOATNAME(LVector3) &other) const {
@@ -202,7 +203,8 @@ angle_rad(const FLOATNAME(LVector3) &other) const {
 //     Function: LVector::angle_deg
 //     Function: LVector::angle_deg
 //       Access: Published
 //       Access: Published
 //  Description: Returns the angle between this vector and the other
 //  Description: Returns the angle between this vector and the other
-//               one, expressed in degrees.
+//               one, expressed in degrees.  Both vectors should be
+//               initially normalized.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 INLINE_LINMATH FLOATTYPE FLOATNAME(LVector3)::
 INLINE_LINMATH FLOATTYPE FLOATNAME(LVector3)::
 angle_deg(const FLOATNAME(LVector3) &other) const {
 angle_deg(const FLOATNAME(LVector3) &other) const {