ReactOS 0.4.15-dev-8241-g63935f8
sampleCompBot.h
Go to the documentation of this file.
1/*
2 * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
3 * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice including the dates of first publication and
13 * either this permission notice or a reference to
14 * http://oss.sgi.com/projects/FreeB/
15 * shall be included in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
22 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 * SOFTWARE.
24 *
25 * Except as contained in this notice, the name of Silicon Graphics, Inc.
26 * shall not be used in advertising or otherwise to promote the sale, use or
27 * other dealings in this Software without prior written authorization from
28 * Silicon Graphics, Inc.
29 */
30/*
31*/
32
33#ifndef _SAMPLECOMPBOT_H
34#define _SAMPLECOMPBOT_H
35
36#include "sampleMonoPoly.h"
37
38void findBotLeftSegment(vertexArray* leftChain,
39 Int leftEnd,
40 Int leftCorner,
41 Real u,
42 Int& ret_index_mono,
43 Int& ret_index_pass);
44
45void findBotRightSegment(vertexArray* rightChain,
46 Int rightEnd,
47 Int rightCorner,
48 Real u,
49 Int& ret_index_mono,
50 Int& ret_index_pass);
51
52
54 vertexArray* rightChain,
55 Int rightEnd,
56 Int segIndexMono,
57 Int segIndexPass,
58 Int rightCorner,
59 gridWrap* grid,
60 Int gridV,
61 Int leftU,
62 Int rightU,
63 primStream* pStream);
64
65
66void sampleBotRightWithGridLine(Real* botVertex,
67 vertexArray* rightChain,
68 Int rightEnd,
69 Int rightCorner,
70 gridWrap* grid,
71 Int gridV,
72 Int leftU,
73 Int rightU,
74 primStream* pStream);
75
76
78 vertexArray* leftChain,
79 Int leftEnd,
80 Int segIndexMono,
81 Int segIndexPass,
82 Int leftCorner,
83 gridWrap* grid,
84 Int gridV,
85 Int leftU,
86 Int rightU,
87 primStream* pStream);
88
89
90void sampleBotLeftWithGridLine(Real* botVertex,
91 vertexArray* leftChain,
92 Int leftEnd,
93 Int leftCorner,
94 gridWrap* grid,
95 Int gridV,
96 Int leftU,
97 Int rightU,
98 primStream* pStream);
99
100
102 Int leftEnd,
103 Int leftCorner,
104 vertexArray* rightChain,
105 Int rightEnd,
106 Int rightCorner,
107 Int& ret_sep_left,
108 Int& ret_sep_right);
109
110void sampleCompBot(Real* botVertex,
111 vertexArray* leftChain,
112 Int leftEnd,
113 vertexArray* rightChain,
114 Int rightEnd,
115 gridBoundaryChain* leftGridChain,
116 gridBoundaryChain* rightGridChain,
117 Int gridIndex,
118 Int down_leftCornerWhere,
119 Int down_leftCornerIndex,
120 Int down_rightCornerWhere,
121 Int down_rightCornerIndex,
122 primStream* pStream);
123
124void sampleCompBotSimple(Real* botVertex,
125 vertexArray* leftChain,
126 Int leftEnd,
127 vertexArray* rightChain,
128 Int rightEnd,
129 gridBoundaryChain* leftGridChain,
130 gridBoundaryChain* rightGridChain,
131 Int gridIndex,
132 Int down_leftCornerWhere,
133 Int down_leftCornerIndex,
134 Int down_rightCornerWhere,
135 Int down_rightCornerIndex,
136 primStream* pStream);
137
138#endif
int Int
Definition: definitions.h:37
float Real
Definition: definitions.h:36
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
void sampleCompBot(Real *botVertex, vertexArray *leftChain, Int leftEnd, vertexArray *rightChain, Int rightEnd, gridBoundaryChain *leftGridChain, gridBoundaryChain *rightGridChain, Int gridIndex, Int down_leftCornerWhere, Int down_leftCornerIndex, Int down_rightCornerWhere, Int down_rightCornerIndex, primStream *pStream)
void sampleBotRightWithGridLine(Real *botVertex, vertexArray *rightChain, Int rightEnd, Int rightCorner, gridWrap *grid, Int gridV, Int leftU, Int rightU, primStream *pStream)
void findBotLeftSegment(vertexArray *leftChain, Int leftEnd, Int leftCorner, Real u, Int &ret_index_mono, Int &ret_index_pass)
Int findBotSeparator(vertexArray *leftChain, Int leftEnd, Int leftCorner, vertexArray *rightChain, Int rightEnd, Int rightCorner, Int &ret_sep_left, Int &ret_sep_right)
void sampleBotRightWithGridLinePost(Real *botVertex, vertexArray *rightChain, Int rightEnd, Int segIndexMono, Int segIndexPass, Int rightCorner, gridWrap *grid, Int gridV, Int leftU, Int rightU, primStream *pStream)
void sampleBotLeftWithGridLine(Real *botVertex, vertexArray *leftChain, Int leftEnd, Int leftCorner, gridWrap *grid, Int gridV, Int leftU, Int rightU, primStream *pStream)
void sampleCompBotSimple(Real *botVertex, vertexArray *leftChain, Int leftEnd, vertexArray *rightChain, Int rightEnd, gridBoundaryChain *leftGridChain, gridBoundaryChain *rightGridChain, Int gridIndex, Int down_leftCornerWhere, Int down_leftCornerIndex, Int down_rightCornerWhere, Int down_rightCornerIndex, primStream *pStream)
void sampleBotLeftWithGridLinePost(Real *botVertex, vertexArray *leftChain, Int leftEnd, Int segIndexMono, Int segIndexPass, Int leftCorner, gridWrap *grid, Int gridV, Int leftU, Int rightU, primStream *pStream)
void findBotRightSegment(vertexArray *rightChain, Int rightEnd, Int rightCorner, Real u, Int &ret_index_mono, Int &ret_index_pass)