Panda3D
direct
src
dcparser
dcindent.cxx
1
// Filename: dcindent.cxx
2
// Created by: drose (05May00)
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
#include "dcindent.h"
16
17
#ifndef WITHIN_PANDA
18
19
////////////////////////////////////////////////////////////////////
20
// Function: indent
21
// Description:
22
////////////////////////////////////////////////////////////////////
23
ostream &
24
indent(ostream &out,
int
indent_level) {
25
for
(
int
i = 0; i < indent_level; i++) {
26
out <<
' '
;
27
}
28
return
out;
29
}
30
31
#endif
Generated on Wed May 17 2017 23:38:50 for Panda3D by
1.8.13