Rechercher une page de manuel
glu.3erl
Langue: en
Version: 274918 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
glu - A part of the standard OpenGL Utility api.DESCRIPTION
A part of the standard OpenGL Utility api. See www.opengl.org <http://www.opengl.org/sdk/docs/man/>
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 <http://www.opengl.org/sdk/docs/man/xhtml/gluBuild1DMipmapLevels.xml> documentation.
build1DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluBuild1DMipmaps.xml> 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 <http://www.opengl.org/sdk/docs/man/xhtml/gluBuild2DMipmapLevels.xml> documentation.
build2DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluBuild2DMipmaps.xml> 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 <http://www.opengl.org/sdk/docs/man/xhtml/gluBuild3DMipmapLevels.xml> documentation.
build3DMipmaps(Target::enum(), InternalFormat::integer(), Width::integer(), Height::integer(), Depth::integer(), Format::enum(), Type::enum(), Data::binary()) -> integer()
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluBuild3DMipmaps.xml> documentation.
checkExtension(ExtName::[integer()], ExtString::[integer()]) -> 0 | 1
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluCheckExtension.xml> documentation.
errorString(Error::enum()) -> string()
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluErrorString.xml> documentation.
getString(Name::enum()) -> string()
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluGetString.xml> documentation.
lookAt(EyeX::float(), EyeY::float(), EyeZ::float(), CenterX::float(), CenterY::float(), CenterZ::float(), UpX::float(), UpY::float(), UpZ::float()) -> ok
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluLookAt.xml> documentation.
ortho2D(Left::float(), Right::float(), Bottom::float(), Top::float()) -> ok
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluOrtho2D.xml> documentation.
perspective(Fovy::float(), Aspect::float(), ZNear::float(), ZFar::float()) -> ok
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluPerspective.xml> documentation.
pickMatrix(X::float(), Y::float(), DelX::float(), DelY::float(), Viewport::{integer()}) -> ok
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluPickMatrix.xml> documentation.
project(ObjX::float(), ObjY::float(), ObjZ::float(), Model::{float()}, Proj::{float()}, View::{integer()}) -> {integer(), WinX::float(), WinY::float(), WinZ::float()}
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluProject.xml> documentation.
unProject(WinX::float(), WinY::float(), WinZ::float(), Model::{float()}, Proj::{float()}, View::{integer()}) -> {integer(), ObjX::float(), ObjY::float(), ObjZ::float()}
See external <http://www.opengl.org/sdk/docs/man/xhtml/gluUnProject.xml> 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 <http://www.opengl.org/sdk/docs/man/xhtml/gluUnProject.xml> documentation.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre