Panda3D
Loading...
Searching...
No Matches
angularVectorForce.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 angularVectorForce.I
10 * @author charles
11 * @date 2000-08-09
12 */
13
14/**
15
16 */
17INLINE void AngularVectorForce::
18set_quat(const LRotation &v) {
19 _fvec = v;
20}
21
22/**
23
24 */
25INLINE void AngularVectorForce::
26set_hpr(PN_stdfloat h, PN_stdfloat p, PN_stdfloat r) {
27 _fvec.set_hpr(LVecBase3(h, p, r));
28}
29
30/**
31
32 */
33INLINE LRotation AngularVectorForce::
34get_local_quat() const {
35 return _fvec;
36}