Panda3D
dtool
src
dtoolbase
indent.cxx
1
// Filename: indent.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
16
#include "indent.h"
17
18
////////////////////////////////////////////////////////////////////
19
// Function: indent
20
// Description:
21
////////////////////////////////////////////////////////////////////
22
ostream &
23
indent(ostream &out,
int
indent_level) {
24
for
(
int
i = 0; i < indent_level; i++) {
25
out <<
' '
;
26
}
27
return
out;
28
}
Generated on Wed May 17 2017 23:39:10 for Panda3D by
1.8.13