瀏覽代碼

collide: Fix CollisionHandlerGravity docstrings

[skip ci]
rdb 4 年之前
父節點
當前提交
28ad032210
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      panda/src/collide/collisionHandlerGravity.I

+ 1 - 3
panda/src/collide/collisionHandlerGravity.I

@@ -52,8 +52,6 @@ get_reach() const {
  *
  *
  * The object might not necessarily be at rest.  Use is_on_ground() if you
  * The object might not necessarily be at rest.  Use is_on_ground() if you
  * want to know whether the object is on the ground and at rest.
  * want to know whether the object is on the ground and at rest.
- *
- * See Also: is_in_outer_space()
  */
  */
 INLINE PN_stdfloat CollisionHandlerGravity::
 INLINE PN_stdfloat CollisionHandlerGravity::
 get_airborne_height() const {
 get_airborne_height() const {
@@ -73,7 +71,7 @@ is_on_ground() const {
 
 
 /**
 /**
  * How hard did the object hit the ground.  This value is set on impact with
  * How hard did the object hit the ground.  This value is set on impact with
- * the ground.  You may want to watch (poll) on is_on_groun() and when that is
+ * the ground.  You may want to watch (poll) on is_on_ground() and when that is
  * true, call get_impact_velocity(). Normally I avoid polling, but we are
  * true, call get_impact_velocity(). Normally I avoid polling, but we are
  * calling is_on_ground() frequently anyway.
  * calling is_on_ground() frequently anyway.
  */
  */