~ubuntu-branches/ubuntu/precise/gle-graphics/precise

« back to all changes in this revision

Viewing changes to src/gle/builtin-double.cpp

  • Committer: Package Import Robot
  • Author(s): Christian T. Steigies
  • Date: 2011-10-20 22:15:27 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111020221527-sv27lrowdd221npi
Tags: 4.2.3b-1
* new upstream version
* switch from cdbs to debhelper 8
* update copyright file
* do no rely on proc on non-linux systems (closes: #644588)
* do not ship glebtool, which is a helper used only during build
* add libqt4-opengl-dev to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#include "all.h"
 
3
#include "gle-interface/gle-base.h"
 
4
#include "gle-interface/gle-interface.h"
 
5
#include "gle-interface/gle-datatype.h"
 
6
#include "var.h"
 
7
#include "sub.h"
 
8
#include "builtin-double.h"
 
9
 
 
10
GLEBuiltInBinaryDoubleDouble::GLEBuiltInBinaryDoubleDouble(const char* name, GLEBuiltInFactory* factory) {
 
11
        setRoot(factory->createRoot(name, factory->getBinaryArgNamesXY()));
 
12
        setArgTypeDefaults(factory->getBinaryDoubleDoubleArgTypeDefaults());
 
13
}
 
14
 
 
15
GLEBuiltInOpPlusDouble::GLEBuiltInOpPlusDouble(GLEBuiltInFactory* factory) : GLEBuiltInBinaryDoubleDouble("+", factory) {}
 
16
 
 
17
void GLEBuiltInOpPlusDouble::execute(GLEArrayImpl* stack, unsigned int top) {
 
18
}
 
19
 
 
20
void initializeBuiltInDouble(GLESubMap* submap, GLEBuiltInFactory* factory) {
 
21
 
 
22
 
 
23
 
 
24
        submap->add(new GLEBuiltInOpPlusDouble(factory)); /* +/2 operator */
 
25
}