Panda3D
pandatool
src
maya
maya_funcs.I
1
// Filename: maya_funcs.I
2
// Created by: drose (15Apr02)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
////////////////////////////////////////////////////////////////////
17
// Function: MString output operator
18
// Description:
19
////////////////////////////////////////////////////////////////////
20
INLINE ostream &operator << (ostream &out,
const
MString &str) {
21
return
out << str.asChar();
22
}
23
24
////////////////////////////////////////////////////////////////////
25
// Function: MVector output operator
26
// Description:
27
////////////////////////////////////////////////////////////////////
28
INLINE ostream &operator << (ostream &out,
const
MVector &vec) {
29
return
out << vec.x <<
" "
<< vec.y <<
" "
<< vec.z;
30
}
Generated on Wed May 17 2017 23:48:44 for Panda3D by
1.8.13