Panda3D
|
00001 // Filename: bulletDebugNode.I 00002 // Created by: enn0x (23Jan10) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 //////////////////////////////////////////////////////////////////// 00016 // Function: BulletDebugNode::Destructor 00017 // Access: Published 00018 // Description: 00019 //////////////////////////////////////////////////////////////////// 00020 INLINE BulletDebugNode:: 00021 ~BulletDebugNode() { 00022 00023 } 00024 00025 //////////////////////////////////////////////////////////////////// 00026 // Function: BulletDebugNode::show_wireframe 00027 // Access: Published 00028 // Description: 00029 //////////////////////////////////////////////////////////////////// 00030 INLINE void BulletDebugNode:: 00031 show_wireframe(bool show) { 00032 00033 _wireframe = show; 00034 draw_mask_changed(); 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: BulletDebugNode::show_constraints 00039 // Access: Published 00040 // Description: 00041 //////////////////////////////////////////////////////////////////// 00042 INLINE void BulletDebugNode:: 00043 show_constraints(bool show) { 00044 00045 _constraints = show; 00046 draw_mask_changed(); 00047 } 00048 00049 //////////////////////////////////////////////////////////////////// 00050 // Function: BulletDebugNode::show_bounding_boxes 00051 // Access: Published 00052 // Description: 00053 //////////////////////////////////////////////////////////////////// 00054 INLINE void BulletDebugNode:: 00055 show_bounding_boxes(bool show) { 00056 00057 _bounds = show; 00058 draw_mask_changed(); 00059 } 00060 00061 //////////////////////////////////////////////////////////////////// 00062 // Function: BulletDebugNode::show_normals 00063 // Access: Published 00064 // Description: 00065 //////////////////////////////////////////////////////////////////// 00066 INLINE void BulletDebugNode:: 00067 show_normals(bool show) { 00068 00069 _drawer._normals = show; 00070 } 00071