-
-
17 Dec 2010 16:04:48 UTC
- Distribution: OpenGL-List
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Clone repository
- Issues (2)
- Testers (93 / 626 / 6)
- Kwalitee
Bus factor: 1- 87.50% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (26.23KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
OpenGL::List - Massively optimise your Perl OpenGL program with display lists
DESCRIPTION
glpList
my $list_name = glpList { glBegin( GL_LINES ); glVertex3f( 0, 0, 0 ); glVertex3f( 1, 0, 0 ); glVertex3f( 0, 0, 0 ); glVertex3f( 0, 1, 0 ); glVertex3f( 0, 0, 0 ); glVertex3f( 0, 0, 1 ); glEnd(); };
The glpLine function is used to define a block of Perl OpenGL instructions that should be immediately compiled into a display list.
Returns a new display list name that can be passed to glCallList() later.
SUPPORT
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=OpenGL-List
AUTHOR
Adam Kennedy <adamk@cpan.org>
SEE ALSO
COPYRIGHT
Copyright 2010 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 11:
Unknown directive: =head
Module Install Instructions
To install OpenGL::List, copy and paste the appropriate command in to your terminal.
cpanm OpenGL::List
perl -MCPAN -e shell install OpenGL::List
For more information on module installation, please visit the detailed CPAN module installation guide.