Panda3D
physxKitchen.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file physxKitchen.I
10  * @author enn0x
11  * @date 2009-10-12
12  */
13 
14 /**
15  *
16  */
17 PhysxKitchen::
18 PhysxKitchen() {
19 
20  _cooking = NxGetCookingLib( NX_PHYSICS_SDK_VERSION );
21 
22  bool status = _cooking->NxInitCooking();
23  nassertv_always( status );
24 }
25 
26 /**
27  *
28  */
29 PhysxKitchen::
30 ~PhysxKitchen() {
31 
32  _cooking->NxCloseCooking();
33 }