root/OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/expControlRecords.cpp @ 13041

Revision 13041, 1.2 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1/*
2 * This library is open source and may be redistributed and/or modified under
3 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or (at
4 * your option) any later version. The full license is in the LICENSE file
5 * included with this distribution, and on the openscenegraph.org website.
6 *
7 * This library is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * OpenSceneGraph Public License for more details.
11*/
12
13//
14// Copyright(c) 2008 Skew Matrix Software LLC.
15//
16
17#include "FltExportVisitor.h"
18#include "DataOutputStream.h"
19#include "Opcodes.h"
20
21
22namespace flt
23{
24
25
26void
27FltExportVisitor::writePush()
28{
29    _records->writeInt16( (int16) PUSH_LEVEL_OP );
30    _records->writeInt16( 4 );
31}
32
33void
34FltExportVisitor::writePop()
35{
36    _records->writeInt16( (int16) POP_LEVEL_OP );
37    _records->writeInt16( 4 );
38}
39
40void
41FltExportVisitor::writePushSubface()
42{
43    _records->writeInt16( (int16) PUSH_SUBFACE_OP );
44    _records->writeInt16( 4 );
45}
46
47void
48FltExportVisitor::writePopSubface()
49{
50    _records->writeInt16( (int16) POP_SUBFACE_OP );
51    _records->writeInt16( 4 );
52}
53
54
55}
Note: See TracBrowser for help on using the browser.