/usr/lib/kaya/imports/GL.ki is in libkaya-gl-dev 0.4.4-6.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | %imported "Prelude";
%except Builtins::InternalError(Int);
%except Builtins::Project_From_Non_Union();
%except Builtins::Lookup_From_Non_Array();
%except Builtins::Negative_Array_Index();
%except Builtins::Wrong_Constructor();
%except Builtins::Getting_Tag_From_Non_Union();
%except Builtins::Invalid_Marshalling_ID();
%except Builtins::Invalid_Function_Table_Hash();
%except Builtins::Invalid_Value();
%except Builtins::Not_Implemented();
%except Builtins::Invalid_Circular_Structure();
%except Builtins::Cant_Marshal_Exceptions();
%except Builtins::Cant_Reflect_Exceptions();
%except Builtins::Missing_Case();
%except Builtins::Pattern_Matching_Assignment_Failure();
%except Builtins::Unguarded_Guard();
%except Builtins::Divide_By_Zero();
%except Builtins::Loop_Return(a);
%except Builtins::Loop_VoidReturn();
%except Builtins::IllegalIndex();
%except Builtins::NoNullsInStrings();
%extinline 5 pure Bool Builtins::inverse(Bool val){ return (!val); };
%extinline 5 pure a Builtins::identity(a val){ return val; };
%extern 5 String Builtins::createString(Int);
%extinline 5 Float Builtins::abs(Float x){ return (if ((x<0.0)) (-x) else x); };
%extinline 5 Int Builtins::abs(Int x){ return (if ((x<0)) (-x) else x); };
%extern 5 Int Builtins::dorand();
%extern 5 Int Builtins::rand();
%extern 5 Void Builtins::srand(Int);
%extern 5 Void Builtins::swap(a,a);
%extern 5 Bool Builtins::identical(a,a);
%extern 5 Bool Builtins::null(Ptr);
%extern 5 Int Builtins::fnid(Void(a));
%extern 5 Int Builtins::strAlloc(String);
%extern 5 Void Builtins::exceptionBacktrace(Exception);
%extern 5 String Builtins::exceptionMessage(Exception);
%extinline 5 pure Ptr Builtins::getVM(){ return %VM; };
%extern 5 anything Builtins::subvert(something);
%extern 5 any Builtins::copy(any);
%extern 5 Int Builtins::hash(any);
%extern 5 Bool Builtins::equal(any,any);
%extern 5 Int Builtins::compare(any,any);
%extern 5 any Builtins::unmarshal(String,Int);
%extern 5 String Builtins::marshal(any,Int);
%extern 5 Void Builtins::translate(String,Char(Char));
%extern 5 Void Builtins::setIndex(String,Char,Int);
%extern 5 Char Builtins::getIndex(String,Int);
%extern 5 Int Builtins::byteLength(String);
%extinline 5 pure Int Builtins::length(String s){ return (%length(s)); };
%extern 5 Int Builtins::strHash(String);
%extern 5 Void Builtins::exit(Int);
%extern 5 Bool Builtins::runTimeChecking();
%extern 5 Int Builtins::doStrHash(String,Int);
%extern 5 str Builtins::doCreateString(Ptr,Int);
%extern 5 Int Builtins::doStrAlloc(str);
%extern 5 Void Builtins::except_dump(exc);
%extern 5 pure String Builtins::except_msg(exc);
%extern 5 pure Int Builtins::except_code(exc);
%extern 5 Int Builtins::funtableHash();
%extern 5 pure Int Builtins::doGetFnID(fn);
%extern 5 pure Bool Builtins::isIdentical(a,a);
%extern 5 pure Bool Builtins::isNull(Ptr);
%extern 5 pure String Builtins::getAddr(a);
%extern 5 Bool Builtins::isInitialised(a);
%extern 5 pure a Builtins::unsafe_id(b);
%extern 5 any Builtins::doCopy(Ptr,any);
%extern 5 Void Builtins::doSetIndex(String,Char,Int);
%extern 5 pure Char Builtins::doGetIndex(String,Int);
%extern 5 pure Bool Builtins::doEqual(Ptr,a,a);
%extern 5 pure Int Builtins::doCompare(Ptr,a,a);
%extern 5 pure any Builtins::doUnmarshal(Ptr,String,Int);
%extern 5 pure String Builtins::doMarshal(Ptr,a,Int);
%extern 5 pure Int Builtins::doHash(a);
%extern 5 Int Builtins::memUsage(a);
%extern 5 pure Int Builtins::doByteLength(String,Int);
%extern 5 pure Bool Builtins::UTF8(String);
%extern 5 pure Int Builtins::size([a]);
%extern 5 pure %startup Void Builtins::__init();
%imported "Builtins";
%extinline 5 pure Float Maths::SQRT_PI(){ return 1.772453850905516; };
%extinline 5 pure Float Maths::SQRT_2(){ return 1.4142135623730951; };
%extinline 5 pure Float Maths::M_E(){ return 2.718281828459045; };
%extinline 5 pure Float Maths::PI(){ return 3.141592653589793; };
%extern 5 pure Int Maths::pow(Int,Int);
%extern 5 Float Maths::atan(Float);
%extern 5 Float Maths::acos(Float);
%extern 5 Float Maths::asin(Float);
%extern 5 Float Maths::tan(Float);
%extern 5 Float Maths::cos(Float);
%extern 5 Float Maths::sin(Float);
%extern 5 Float Maths::floor(Float);
%extern 5 Float Maths::ceil(Float);
%extern 5 Float Maths::log10(Float);
%extern 5 Float Maths::log(Float);
%extern 5 Float Maths::exp(Float);
%extern 5 Float Maths::sqrt(Float);
%extern 5 Float Maths::pow(Float,Float);
%extern 5 pure %startup Void Maths::__init();
%imported "Maths";
%extern 5 pure %startup Void Tuples::__init();
%imported "Tuples";
%except Array::OutOfBounds();
%except Array::ZeroStep();
%extern 5 [a] Array::take(Int,[a]);
%extern 5 Void Array::nub([a],Bool(a, a) = equal);
%extern 5 pure Bool Array::elem(a,[a],Bool(a, a) = equal);
%extern 5 Void Array::addAt([a],a,Int);
%extern 5 Void Array::removeAt([a],Int);
%extern 5 [a] Array::remove([a],Int,Int);
%extern 5 [a] Array::subarray([a],Int,Int);
%extern 5 Void Array::unshift(a,[a]);
%extern 5 a Array::shift([a]);
%extern 5 Void Array::pop([a]);
%extern 5 a Array::top([a]);
%extern 5 Void Array::push([a],a);
%extern 5 [a] Array::filter(Bool(a),[a]);
%extern 5 b Array::fold(b(a, b),[a],b);
%extern 5 [Tuples::Pair<a, b> ] Array::zip([a],[b]);
%extern 5 [c] Array::zipWith(c(a, b),[a],[b]);
%extern 5 [b] Array::map(b(a),[a]);
%extern 5 pure Bool Array::all(Bool(a),[a]);
%extern 5 pure Bool Array::any(Bool(a),[a]);
%extern 5 [a] Array::intersperse(a,[a]);
%extern 5 [a] Array::join([[a]]);
%extern 5 Void Array::concat([a],[a]);
%extern 5 Void Array::shuffle([a]);
%extern 5 [a] Array::sorted([a],Int(a, a) = compare);
%extern 5 Void Array::sort([a],Int(a, a) = compare);
%extern 5 [Int] Array::range(Int,Int,Int = 1);
%extern 5 Void Array::reverse([a]);
%extern 5 [a] Array::createArray(Int);
%extern 5 [a] Array::docreateArray(Ptr,Int);
%extern 5 Void Array::unshiftArray(a,[a]);
%extern 5 a Array::shiftArray([a]);
%extern 5 Void Array::shortenArray([a]);
%extern 5 Void Array::quicksort(Ptr,[a],Int(a, a));
%extern 5 Void Array::resize([a],Int);
%extern 5 [a] Array::doReverse([a]);
%extern 5 pure %startup Void Array::__init();
%imported "Array";
%extern 5 String Coercions::string([Char]);
%extern 5 [Char] Coercions::array(String);
%extinline 5 pure Void Coercions::void(a x){ pass; };
%extinline 5 pure Char Coercions::char(Int x){ return Char(x); };
%extinline 5 pure Float Coercions::float(Int x){ return Float(x); };
%extinline 5 pure Float Coercions::float(String x){ return Float(x); };
%extinline 5 pure Int Coercions::int(Char x){ return Int(x); };
%extinline 5 pure Int Coercions::int(Float x){ return Int(x); };
%extinline 5 pure Int Coercions::int(String x){ return Int(x); };
%extinline 5 pure String Coercions::string(Bool x){ return String(x); };
%extinline 5 pure String Coercions::string(Char x){ return String(x); };
%extinline 5 pure String Coercions::string(Float x){ return String(x); };
%extinline 5 pure String Coercions::string(Int x){ return String(x); };
%extern 5 pure %startup Void Coercions::__init();
%imported "Coercions";
%except Prelude::CantDerefNothing();
%except Prelude::NegativeLengthString(Int);
%except Prelude::PositionOutOfRange(Int);
%except Prelude::FileNotFound();
%extern 5 String Prelude::substr(String,Int,Int);
%extern 5 String Prelude::rep(String,Int);
%extern 5 pure a() Prelude::thunk(a);
%extern 5 pure a Prelude::force(a());
%extern 5 pure a Prelude::apply(a(b),b);
%extern 5 a(c) Prelude::compose(a(b),b(c));
%extern 5 pure a Prelude::runcompose(a(b),b(c),c);
%extern 5 Void Prelude::putStrLn(String);
%extern 5 String Prelude::strEnd(String,Int);
%extern 5 String Prelude::toUpper(String);
%extern 5 String Prelude::toLower(String);
%extinline 5 pure Bool Prelude::isLineEnding(Char c){ return ((c=='\n')||(c=='\r')); };
%extern 5 Void Prelude::putStr(String);
%extern 5 Void Prelude::doPutStr(String,Int);
%extern 5 String Prelude::do_strend(Ptr,String,Int);
%extern 5 String Prelude::dosubstr(Ptr,String,Int,Int);
%extern 5 Char Prelude::toUpper(Char);
%extern 5 Char Prelude::toLower(Char);
%extern 5 Bool Prelude::isUpper(Char);
%extern 5 Bool Prelude::isLower(Char);
%extern 5 Bool Prelude::isSpace(Char);
%extern 5 Bool Prelude::isGraph(Char);
%extern 5 Bool Prelude::isPunct(Char);
%extern 5 Bool Prelude::isAlnum(Char);
%extern 5 Bool Prelude::isAlpha(Char);
%extern 5 Bool Prelude::isDigit(Char);
%extern 5 Void Prelude::onDestroy(a,Void(a));
%extern 5 Void Prelude::gcEnable();
%extern 5 Void Prelude::gcDisable();
%extern 5 Int Prelude::gcSetFSD(Int);
%extern 5 Void Prelude::gcIncremental();
%extern 5 Void Prelude::gcSetMaxHeapSize(Int);
%extern 5 Int Prelude::gcTotalBytes();
%extern 5 Int Prelude::gcFreeBytes();
%extern 5 Int Prelude::gcHeapSize();
%extern 5 Void Prelude::gc();
%extern 5 String Prelude::stringBase(Int,Int);
%extern 5 Int Prelude::intBase(String,Int);
%extern 5 a Prelude::deref(Prelude::Maybe<a> );
%extern 5 Void Prelude::reverse(Prelude::List<a> );
%extern 5 [a] Prelude::array(Prelude::List<a> );
%extern 5 Void Prelude::traverse(Bool(a, Int),Prelude::List<a> );
%extern 5 pure %startup Void Prelude::__init();
%imported "glglue";
%link "glut";
%link "GL";
%link "GLU";
%except IO::FileError();
%except IO::DirError();
%except IO::InvalidMode();
%except IO::ClosedFile();
%except IO::ReadOnlyFile();
%except IO::WriteOnlyFile();
%extern 5 [IO::DirInfo] IO::getDirInfo(String);
%extern 5 IO::DirTree IO::dirinfo(String);
%extern 5 IO::Stat IO::stat(String);
%extern 5 [String] IO::listDir(String);
%extern 5 IO::DirEntry IO::readDir(IO::Dir);
%extern 5 Void IO::closeDir(IO::Dir);
%extern 5 IO::Dir IO::openDir(String);
%extern 5 Bool IO::fileExecutable(String);
%extern 5 Bool IO::fileWritable(String);
%extern 5 Bool IO::fileReadable(String);
%extern 5 Bool IO::fileExists(String);
%extern 5 Int IO::permBits([IO::Permission]);
%extern 5 Void IO::mkdir(String,IO::Permissions = @Permissions([ReadP,WriteP,ExecuteP],[ReadP,WriteP,ExecuteP],[ReadP,WriteP,ExecuteP],false,false,false));
%extern 5 Void IO::unlink(String);
%extern 5 IO::File IO::tmpFile();
%extern 5 Void IO::writeFile(String,String);
%extern 5 String IO::readFile(String);
%extern 5 Void IO::close(IO::File);
%extern 5 Void IO::flush(IO::File);
%extern 5 Bool IO::eof(IO::File);
%extern 5 Int IO::getInt(IO::File);
%extern 5 Void IO::putInt(IO::File,Int);
%extern 5 Void IO::putChar(IO::File,Char);
%extern 5 Void IO::put(IO::File,String);
%extern 5 String IO::get(IO::File);
%extern 5 IO::File IO::reopen(String,[IO::FileMode],IO::File);
%extern 5 IO::File IO::open(String,[IO::FileMode]);
%extern 5 String IO::getFileMode([IO::FileMode]);
%extern 5 Void IO::putStr(IO::File,String);
%extern 5 Ptr IO::ptr(IO::File);
%extern 5 IO::File IO::file(Ptr,[IO::FileMode] = [Read,Write,Append]);
%extern 5 IO::File IO::stderr();
%extern 5 IO::File IO::stdout();
%extern 5 IO::File IO::stdin();
%extern 5 Char IO::getChar(IO::File);
%extern 5 String IO::getString(IO::File);
%extern 5 Void IO::fseek(IO::File,Int);
%extern 5 Int IO::fpos(IO::File);
%extern 5 Void IO::writeCheck(IO::File);
%extern 5 Void IO::openCheck(IO::File);
%extern 5 Void IO::readCheck(IO::File);
%extern 5 pure Bool IO::isWritable(IO::File);
%extern 5 pure Bool IO::isReadable(IO::File);
%extern 5 pure Bool IO::isOpen(IO::File);
%extern 5 Ptr IO::getstderr();
%extern 5 Ptr IO::getstdout();
%extern 5 Ptr IO::getstdin();
%extern 5 IO::Stat IO::do_stat(Ptr,String);
%extern 5 String IO::dir_getname(Ptr,Ptr);
%extern 5 Ptr IO::do_readdir(Ptr);
%extern 5 Int IO::do_closedir(Ptr);
%extern 5 Ptr IO::do_opendir(String);
%extern 5 Void IO::rename(String,String);
%extern 5 Int IO::do_access(String,IO::AccessMode);
%extern 5 Int IO::do_mkdir(String,Int);
%extern 5 Int IO::do_unlink(String);
%extern 5 Void IO::fclose(Ptr);
%extern 5 Int IO::do_fflush(Ptr);
%extern 5 Bool IO::feof(Ptr);
%extern 5 Int IO::do_fpos(Ptr);
%extern 5 Void IO::do_fseek(Ptr,Int);
%extern 5 Void IO::putLine(Ptr,String,Int);
%extern 5 Void IO::doPutStr(Ptr,String,Int);
%extern 5 Void IO::doputChar(Int,Ptr);
%extern 5 Char IO::do_fgetc(Ptr);
%extern 5 String IO::do_getString(Ptr,Ptr);
%extern 5 String IO::getLine(Ptr,Ptr);
%extern 5 Bool IO::validFile(Ptr);
%extern 5 Ptr IO::freopen(String,String,Ptr);
%extern 5 Ptr IO::fopen(String,String);
%extern 5 Ptr IO::do_tmpFile();
%extern 5 pure %startup Void IO::__init();
%imported "IO";
%imported "binary_glue";
%except Binary::OffsetOutOfRange();
%extern 5 Binary::Binary Binary::base64Decode(String);
%extern 5 String Binary::base64Encode(Binary::Binary);
%extern 5 Binary::Binary Binary::readBlock(IO::File,Int);
%extern 5 Void Binary::writeBlock(IO::File,Binary::Binary);
%extern 5 Void Binary::setBlockData(Binary::Binary,Int,[Int]);
%extern 5 [Int] Binary::array(Binary::Binary);
%extern 5 [Int] Binary::getBlockChunk(Binary::Binary,Int,Int);
%extern 5 Binary::Binary Binary::copyChunk(Binary::Binary,Int,Int);
%extern 5 Binary::Binary Binary::copyBlock(Binary::Binary);
%extern 5 String Binary::peekString(Binary::Binary,Int);
%extern 5 Void Binary::pokeString(Binary::Binary,Int,String);
%extern 5 Int Binary::peek(Binary::Binary,Int);
%extern 5 Void Binary::poke(Binary::Binary,Int,Int);
%extern 5 pure Ptr Binary::blockData(Binary::Binary);
%extern 5 pure Int Binary::blockSize(Binary::Binary);
%extern 5 pure Binary::Binary Binary::createInitialisedBlock(Ptr,Int);
%extern 5 Binary::Binary Binary::createBlock(Int);
%extern 5 Ptr Binary::b64binarydec(String,intval);
%extern 5 String Binary::b64binary(Ptr,Int);
%extern 5 Ptr Binary::doreadBlock(Ptr,a);
%extern 5 Int Binary::dowriteBlock(Ptr,Ptr,Int);
%extern 5 Void Binary::dosetBlockData(Ptr,Int,Int,[Int]);
%extern 5 [Int] Binary::dogetBlockData(Ptr,Int,Int);
%extern 5 Ptr Binary::docopyChunk(Ptr,Int,Int);
%extern 5 Ptr Binary::docopyBlock(Ptr,Int);
%extern 5 String Binary::dopeekString(Ptr,Int,Int);
%extern 5 Void Binary::dopokeString(Ptr,Int,String);
%extern 5 Int Binary::dopeek(Ptr,Int);
%extern 5 Void Binary::dopoke(Ptr,Int,Int);
%extern 5 Ptr Binary::newBlock(Int);
%extern 5 pure %startup Void Binary::__init();
%imported "Binary";
%data 5 public GL::MatrixMode = GL::Projection() | GL::ModelView() | GL::Texture();
%data 5 public GL::ShadeModel = GL::Flat() | GL::Smooth();
%data 5 public GL::Buffer = GL::Color() | GL::Depth() | GL::Accum() | GL::Stencil();
%data 5 public GL::Primitive = GL::Points() | GL::Lines() | GL::LineStrip() | GL::LineLoop() | GL::Triangles() | GL::TriangleStrip() | GL::TriangleFan() | GL::Quads() | GL::QuadStrip() | GL::Polygon();
%data 5 public GL::Feature = GL::DepthTest() | GL::Blend() | GL::Fog() | GL::LineStipple() | GL::Lighting() | GL::Light(Int) | GL::Normalize() | GL::ColorMaterial() | GL::PointSmooth() | GL::LineSmooth() | GL::CullFace() | GL::Texture1D() | GL::Texture2D() | GL::ScissorTest() | GL::AlphaTest() | GL::StencilTest() | GL::AutoNormal();
%data 5 public GL::ListMode = GL::Compile() | GL::CompileAndExecute();
%data 5 public GL::LightParam = GL::Ambient(Float,Float,Float,Float) | GL::Diffuse(Float,Float,Float,Float) | GL::Specular(Float,Float,Float,Float) | GL::Position(Float,Float,Float,Float) | GL::SpotDirection(Float,Float,Float) | GL::SpotExponent(Float) | GL::SpotCutoff(Float) | GL::ConstantAttenuation(Float) | GL::LinearAttenuation(Float) | GL::QuadraticAttentuation(Float);
%data 5 public GL::Material = GL::AmbientMat(Float,Float,Float,Float) | GL::DiffuseMat(Float,Float,Float,Float) | GL::AmbientAndDiffuseMat(Float,Float,Float,Float) | GL::SpecularMat(Float,Float,Float,Float) | GL::Shininess(Float) | GL::Emission(Float,Float,Float,Float);
%data 5 public GL::MaterialMode = GL::AmbientMode() | GL::DiffuseMode() | GL::AmbientAndDiffuseMode() | GL::SpecularMode() | GL::EmissionMode();
%data 5 public GL::Face = GL::Front() | GL::Back() | GL::FrontAndBack();
%data 5 public GL::Color = GL::Color3f(Float,Float,Float) | GL::Color4f(Float,Float,Float,Float) | GL::Color3i(Int,Int,Int) | GL::Color4i(Int,Int,Int,Int);
%data 5 public GL::TextureFunc = GL::Decal() | GL::Replace() | GL::Modulate() | GL::BlendTex();
%data 5 public GL::TextureTarget = GL::TexNormal() | GL::TexProxy();
%data 5 public GL::TextureType = GL::Tex1D() | GL::Tex2D();
%data 5 public GL::TextureFormat = GL::Format(Int internal);
%data 5 public GL::TextureWrap = GL::Clamp() | GL::Repeat();
%data 5 public GL::TextureFilter = GL::Nearest() | GL::Linear() | GL::NearestMipmapNearest() | GL::NearestMipmapLinear() | GL::LinearMipmapNearest() | GL::LinearMipmapLinear();
%data 5 public GL::TextureParam = GL::WrapS(GL::TextureWrap) | GL::WrapT(GL::TextureWrap) | GL::MagFilter(GL::TextureFilter) | GL::MinFilter(GL::TextureFilter) | GL::TextureBorderColor(Float,Float,Float,Float) | GL::TexturePriority(Float);
%data 5 public GL::PixelFormat = GL::RGBA() | GL::Red() | GL::Green() | GL::Blue() | GL::Alpha() | GL::Luminance() | GL::LuminanceAlpha() | GL::DepthComponent();
%data 5 public GL::Type = GL::UnsignedByte() | GL::Byte() | GL::Bitmap() | GL::UnsignedShort() | GL::Short() | GL::UnsignedInt() | GL::IntType() | GL::FloatType();
%data 5 public GL::Matrix = GL::Matrixf([[Float]]) | GL::Matrixi([[Int]]);
%data 5 public GL::Vector = GL::Vecf(Float,Float,Float) | GL::Veci(Int,Int,Int) | GL::Vec2f(Float,Float) | GL::Vec2i(Int,Int) | GL::Vec4f(Float,Float,Float,Float) | GL::Vec4i(Int,Int,Int,Int);
%data 5 public GL::Point = GL::Pointf(Float,Float,Float) | GL::Pointi(Int,Int,Int) | GL::Point2f(Float,Float) | GL::Point2i(Int,Int) | GL::Point4f(Float,Float,Float,Float) | GL::Point4i(Int,Int,Int,Int);
%except GL::GLUerror(Int);
%except GL::GLerror(String);
%extern 5 public Void GL::checkError();
%extern 5 public Void GL::deleteTexture(Int);
%extern 5 public Void GL::bindTexture(GL::TextureType,Int);
%extern 5 public Int GL::genTexture();
%extern 5 public Void GL::texParameter(GL::TextureType,GL::TextureParam);
%extern 5 public Void GL::build2DMipmaps(GL::TextureTarget,Int,Int,Int,GL::PixelFormat,GL::Type,Binary::Binary);
%extern 5 public Void GL::texImage2D(GL::TextureTarget,Int,GL::TextureFormat,Int,Int,Int,GL::PixelFormat,GL::Type,Binary::Binary);
%extern 5 public Void GL::texMode(GL::TextureFunc);
%extern 5 public Void GL::material(GL::Face,GL::Material);
%extern 5 public Void GL::light(Int,GL::LightParam);
%extern 5 public Void GL::shadeModel(GL::ShadeModel);
%extern 5 public Void GL::newList(Int,GL::ListMode);
%extern 5 public Bool GL::isEnabled(GL::Feature);
%extern 5 public Void GL::disable(GL::Feature);
%extern 5 public Void GL::enable(GL::Feature);
%extern 5 public Void GL::texCoord(GL::Point);
%extern 5 public Void GL::normal(GL::Vector);
%extern 5 public Void GL::vertex(GL::Point);
%extern 5 public Void GL::begin(GL::Primitive);
%extern 5 public Void GL::clear([GL::Buffer]);
%extern 5 public Void GL::color(GL::Color);
%extern 5 public Void GL::matrixMode(GL::MatrixMode);
%extern 5 Bool GL::docheckError(Ptr,a);
%extern 5 Void GL::doDeleteTexture(Int);
%extern 5 Int GL::doGenTexture();
%extern 5 Void GL::doglTexParam(Int,GL::TextureParam);
%extern 5 Void GL::glBindTexture(Int,Int);
%extern 5 Int GL::gluBuild2DMipmaps(Int,Int,Int,Int,Int,Int,Ptr);
%extern 5 Void GL::glTexImage2D(Int,Int,Int,Int,Int,Int,Int,Int,Ptr);
%extern 5 Void GL::glTexMode(Int);
%extern 5 Int GL::glGetTexWrap(GL::TextureWrap);
%extern 5 Int GL::glGetTexType(GL::TextureType);
%extern 5 Int GL::glGetTexTarget(GL::TextureTarget,Int);
%extern 5 Int GL::glGetType(GL::Type);
%extern 5 Int GL::glGetPixelFormat(GL::PixelFormat);
%extern 5 Int GL::glGetTexFunc(GL::TextureFunc);
%extern 5 Int GL::glGetMaterialMode(GL::MaterialMode);
%extern 5 Int GL::glGetFace(GL::Face);
%extern 5 Void GL::doglMaterial(Int,GL::Material);
%extern 5 Void GL::doglLight(Int,GL::LightParam);
%extern 5 Int GL::glGetShadeModel(GL::ShadeModel);
%extern 5 Void GL::glShadeModel(Int);
%extern 5 public Void GL::callList(Int);
%extern 5 Int GL::glGetListMode(GL::ListMode);
%extern 5 public Void GL::endList();
%extern 5 public Int GL::genLists(Int);
%extern 5 Void GL::glNewList(Int,Int);
%extern 5 Bool GL::glIsEnabled(Int);
%extern 5 Void GL::glDisable(Int);
%extern 5 Void GL::glEnable(Int);
%extern 5 Int GL::glGetFeature(GL::Feature);
%extern 5 Int GL::glGetPrimitive(GL::Primitive);
%extern 5 public Void GL::end();
%extern 5 Void GL::glBegin(Int);
%extern 5 Int GL::maskBuffers([GL::Buffer]);
%extern 5 Void GL::glClear(Int);
%extern 5 public Void GL::lookAt(Float,Float,Float,Float,Float,Float,Float,Float,Float);
%extern 5 public Void GL::scale(Float,Float,Float);
%extern 5 public Void GL::rotate(Float,Float,Float,Float);
%extern 5 public Void GL::translate(Float,Float,Float);
%extern 5 Void GL::glTexCoord3i(Int,Int,Int);
%extern 5 Void GL::glTexCoord3f(Float,Float,Float);
%extern 5 Void GL::glTexCoord2i(Int,Int);
%extern 5 Void GL::glTexCoord2f(Float,Float);
%extern 5 Void GL::glNormal3i(Int,Int,Int);
%extern 5 Void GL::glNormal3f(Float,Float,Float);
%extern 5 Void GL::glVertex4i(Int,Int,Int,Int);
%extern 5 Void GL::glVertex4f(Float,Float,Float,Float);
%extern 5 Void GL::glVertex3i(Int,Int,Int);
%extern 5 Void GL::glVertex3f(Float,Float,Float);
%extern 5 Void GL::glVertex2i(Int,Int);
%extern 5 Void GL::glVertex2f(Float,Float);
%extern 5 Void GL::glColor4i(Int,Int,Int,Int);
%extern 5 Void GL::glColor3i(Int,Int,Int);
%extern 5 Void GL::glColor4f(Float,Float,Float,Float);
%extern 5 Void GL::glColor3f(Float,Float,Float);
%extern 5 public Void GL::finish();
%extern 5 public Void GL::flush();
%extern 5 public Void GL::clearDepth(Float);
%extern 5 public Void GL::clearColor(Float,Float,Float,Float);
%extern 5 Void GL::glMatrixMode(Int);
%extern 5 Int GL::glGetMatrixMode(GL::MatrixMode);
%extern 5 public Void GL::popMatrix();
%extern 5 public Void GL::pushMatrix();
%extern 5 public Void GL::viewport(Int,Int,Int,Int);
%extern 5 public Void GL::perspective(Float,Float,Float,Float);
%extern 5 public Void GL::ortho2D(Float,Float,Float,Float);
%extern 5 public Void GL::ortho(Float,Float,Float,Float,Float,Float);
%extern 5 public Void GL::frustum(Float,Float,Float,Float,Float,Float);
%extern 5 public Void GL::loadIdentity();
%extern 5 pure %startup Void GL::__init();
|