mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 21:40:25 +00:00
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
{{QBDLDATE:07-31-2022}}
|
|
{{QBDLTIME:23:49:01}}
|
|
{{DISPLAYTITLE:_glFrustum}}
|
|
The '''_glFrustum''' statement multiplies the current matrix by a perspective matrix.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: '''_glFrustum''' GLdouble {{Parameter|left}}, GLdouble {{Parameter|right}}, GLdouble {{Parameter|bottom}}, GLdouble {{Parameter|top}}, GLdouble {{Parameter|zNear}}, GLdouble {{Parameter|zFar}}
|
|
|
|
|
|
{{PageParameters}}
|
|
* OpenGL is using its own set of variable types to describe its command parameters.
|
|
* Use the following table to find the respective QB64 [[Variable Types]].
|
|
{{OpenGLTypesPlugin}}
|
|
|
|
|
|
{{PageDescription}}
|
|
* OpenGL's documentation is available in several places, so we won't reproduce it here for another time.
|
|
* The full description for this command can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/glfrustum Microsoft Docs] and is also valid for QB64 usage.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_GL|SUB _GL]]
|
|
* [[_glBegin]], [[_glEnd]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glgetbooleanv--glgetdoublev--glgetfloatv--glgetintegerv _glGet], [[_glMatrixMode]]
|
|
* [https://docs.microsoft.com/en-us/windows/win32/opengl/glmultmatrix _glMultMatrix], [[_glOrtho]], [[_glPopMatrix]], [[_glPushMatrix]]
|
|
* [[_glViewport]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|
|
[[Category:Final]]
|