1 | # Copyright (c) 2001, Stanford University
|
---|
2 | # All rights reserved.
|
---|
3 | #
|
---|
4 | # See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | :enable:scissorTest:GL_SCISSOR_TEST
|
---|
6 | :s_dims:scissorX,scissorY,scissorW,scissorH:Scissor
|
---|
7 | #+scissorTest:s_dims:*CRrecti p;
|
---|
8 | #+scissorTest:s_dims:scissorX,scissorY,scissorW,scissorH:*diff_api.Scissor(p.x1, p.y1, p.x2-p.x1, p.y2-p.y1);
|
---|
9 | #-scissorTest:s_dims:scissorX,scissorY,scissorW,scissorH:Scissor
|
---|
10 | #+:v_dims:*CRrecti p;
|
---|
11 | #+:v_dims:viewportX,viewportY,viewportW,viewportH:*diff_api.Viewport(p.x1, p.y1, p.x2-p.x1, p.y2-p.y1);
|
---|
12 | :v_dims:viewportX,viewportY,viewportW,viewportH:Viewport
|
---|
13 | #-:v_dims:viewportX,viewportY,viewportW,viewportH:Viewport
|
---|
14 | :depth:nearClip,farClip:DepthRange
|
---|