Panda3D
 All Classes Functions Variables Enumerations
physxKitchen.I
00001 // Filename: physxKitchen.I
00002 // Created by:  enn0x (12Oct09)
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 ////////////////////////////////////////////////////////////////////
00017 //     Function: PhysxKitchen::Constructor
00018 //       Access: Published
00019 //  Description: 
00020 ////////////////////////////////////////////////////////////////////
00021 PhysxKitchen::
00022 PhysxKitchen() {
00023 
00024   _cooking = NxGetCookingLib( NX_PHYSICS_SDK_VERSION );
00025 
00026   bool status = _cooking->NxInitCooking();
00027   nassertv_always( status );
00028 }
00029 
00030 ////////////////////////////////////////////////////////////////////
00031 //     Function: PhysxKitchen::Destructor
00032 //       Access: Published
00033 //  Description: 
00034 ////////////////////////////////////////////////////////////////////
00035 PhysxKitchen::
00036 ~PhysxKitchen() {
00037 
00038   _cooking->NxCloseCooking();
00039 }
00040 
 All Classes Functions Variables Enumerations