[Ericsson AB]

glu

MODULE

glu

MODULE SUMMARY

A part of the standard OpenGL Utility api.

DESCRIPTION

A part of the standard OpenGL Utility api. See www.opengl.org

Booleans are represented by integers 0 and 1.

DATA TYPES

clamp()
A float clamped between 0.0 - 1.0
enum()
An integer defined in gl.hrl
offset()
An integer which is an offset in an array

EXPORTS

tesselate(X1::Vec3, Vs::[Vec3]) -> {Triangles, VertexPos}

Types:

Vec3 = {float(), float(), float()}
Triangles = [VertexIndex::integer()]
VertexPos = binary()

General purpose polygon triangulation. The first argument is the normal and the second a list of vertex positions. Returned is a list of indecies of the vertices and a binary (64bit native float) containing an array of vertex positions, it starts with the vertices in Vs and may contain newly created vertices in the end.

build1DMipmapLevels(Target::enum(), InternalFormat::integer(), Width::integer(), Format::enum(), Type::enum(), Level::integer(), Base::integer(), Max::integer(), Data::binary()) -> integer()

See external documentation.

build1DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()

See external documentation.

build2DMipmapLevels(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Format::enum(), Type::enum(), Level::integer(), Base::integer(), Max::integer(), Data::binary()) -> integer()

See external documentation.

build2DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()

See external documentation.

build3DMipmapLevels(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Depth::integer(), Format::enum(), Type::enum(), Level::integer(), Base::integer(), Max::integer(), Data::binary()) -> integer()

See external documentation.

build3DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Depth::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()

See external documentation.

checkExtension(ExtName::[integer()], ExtString::[integer()]) -> 0 | 1

See external documentation.

errorString(Error::enum()) -> string()

See external documentation.

getString(Name::enum()) -> string()

See external documentation.

lookAt(EyeX::float(), EyeY::float(), EyeZ::float(), CenterX::float(), CenterY::float(), CenterZ::float(), UpX::float(), UpY::float(), UpZ::float()) -> ok

See external documentation.

ortho2D(Left::float(), Right::float(), Bottom::float(), Top::float()) -> ok

See external documentation.

perspective(Fovy::float(), Aspect::float(), ZNear::float(), ZFar::float()) -> ok

See external documentation.

pickMatrix(X::float(), Y::float(), DelX::float(), DelY::float(), Viewport::{integer()}) -> ok

See external documentation.

project(ObjX::float(), ObjY::float(), ObjZ::float(), Model::{float()}, Proj::{float()}, View::{integer()}) -> {integer(), WinX::float(), WinY::float(), WinZ::float()}

See external documentation.

unProject(WinX::float(), WinY::float(), WinZ::float(), Model::{float()}, Proj::{float()}, View::{integer()}) -> {integer(), ObjX::float(), ObjY::float(), ObjZ::float()}

See external documentation.

unProject4(WinX::float(), WinY::float(), WinZ::float(), ClipW::float(), Model::{float()}, Proj::{float()}, View::{integer()}, NearVal::float(), FarVal::float()) -> {integer(), ObjX::float(), ObjY::float(), ObjZ::float(), ObjW::float()}

See external documentation.

AUTHORS

- support@erlang.ericsson.se

wx 0.98.2
Copyright © 1991-2009 Ericsson AB