| 1 | /* $Id: basicsurfeval.cpp,v 1.1 2000-02-09 08:50:21 jeroen Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | ** License Applicability. Except to the extent portions of this file are
|
|---|
| 4 | ** made subject to an alternative license as permitted in the SGI Free
|
|---|
| 5 | ** Software License B, Version 1.0 (the "License"), the contents of this
|
|---|
| 6 | ** file are subject only to the provisions of the License. You may not use
|
|---|
| 7 | ** this file except in compliance with the License. You may obtain a copy
|
|---|
| 8 | ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
|
|---|
| 9 | ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
|
|---|
| 10 | **
|
|---|
| 11 | ** http://oss.sgi.com/projects/FreeB
|
|---|
| 12 | **
|
|---|
| 13 | ** Note that, as provided in the License, the Software is distributed on an
|
|---|
| 14 | ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
|
|---|
| 15 | ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
|
|---|
| 16 | ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
|
|---|
| 17 | ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|---|
| 18 | **
|
|---|
| 19 | ** Original Code. The Original Code is: OpenGL Sample Implementation,
|
|---|
| 20 | ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
|
|---|
| 21 | ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
|
|---|
| 22 | ** Copyright in any portions created by third parties is as indicated
|
|---|
| 23 | ** elsewhere herein. All Rights Reserved.
|
|---|
| 24 | **
|
|---|
| 25 | ** Additional Notice Provisions: The application programming interfaces
|
|---|
| 26 | ** established by SGI in conjunction with the Original Code are The
|
|---|
| 27 | ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
|
|---|
| 28 | ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
|
|---|
| 29 | ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
|
|---|
| 30 | ** Window System(R) (Version 1.3), released October 19, 1998. This software
|
|---|
| 31 | ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
|
|---|
| 32 | ** published by SGI, but has not been independently verified as being
|
|---|
| 33 | ** compliant with the OpenGL(R) version 1.2.1 Specification.
|
|---|
| 34 | */
|
|---|
| 35 |
|
|---|
| 36 | /*
|
|---|
| 37 | * basicsurfaceevaluator.c++
|
|---|
| 38 | *
|
|---|
| 39 | * $Date: 2000-02-09 08:50:21 $ $Revision: 1.1 $
|
|---|
| 40 | * $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/nurbs/internals/basicsurfeval.cpp,v 1.1 2000-02-09 08:50:21 jeroen Exp $
|
|---|
| 41 | */
|
|---|
| 42 |
|
|---|
| 43 | #include "mystdio.h"
|
|---|
| 44 | #include "types.h"
|
|---|
| 45 | #include "basicsurfeval.h"
|
|---|
| 46 |
|
|---|
| 47 | void
|
|---|
| 48 | BasicSurfaceEvaluator::domain2f( REAL, REAL, REAL, REAL )
|
|---|
| 49 | {
|
|---|
| 50 | #ifndef NDEBUG
|
|---|
| 51 | dprintf( "domain2f\n" );
|
|---|
| 52 | #endif
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 | void
|
|---|
| 56 | BasicSurfaceEvaluator::polymode( long )
|
|---|
| 57 | {
|
|---|
| 58 | #ifndef NDEBUG
|
|---|
| 59 | dprintf( "polymode\n" );
|
|---|
| 60 | #endif
|
|---|
| 61 | }
|
|---|
| 62 |
|
|---|
| 63 | void
|
|---|
| 64 | BasicSurfaceEvaluator::range2f( long type, REAL *from, REAL *to )
|
|---|
| 65 | {
|
|---|
| 66 | #ifndef NDEBUG
|
|---|
| 67 | dprintf( "range2f type %ld, from (%g,%g), to (%g,%g)\n",
|
|---|
| 68 | type, from[0], from[1], to[0], to[1] );
|
|---|
| 69 | #endif
|
|---|
| 70 | }
|
|---|
| 71 |
|
|---|
| 72 | void
|
|---|
| 73 | BasicSurfaceEvaluator::enable( long )
|
|---|
| 74 | {
|
|---|
| 75 | #ifndef NDEBUG
|
|---|
| 76 | dprintf( "enable\n" );
|
|---|
| 77 | #endif
|
|---|
| 78 | }
|
|---|
| 79 |
|
|---|
| 80 | void
|
|---|
| 81 | BasicSurfaceEvaluator::disable( long )
|
|---|
| 82 | {
|
|---|
| 83 | #ifndef NDEBUG
|
|---|
| 84 | dprintf( "disable\n" );
|
|---|
| 85 | #endif
|
|---|
| 86 | }
|
|---|
| 87 |
|
|---|
| 88 | void
|
|---|
| 89 | BasicSurfaceEvaluator::bgnmap2f( long )
|
|---|
| 90 | {
|
|---|
| 91 | #ifndef NDEBUG
|
|---|
| 92 | dprintf( "bgnmap2f\n" );
|
|---|
| 93 | #endif
|
|---|
| 94 | }
|
|---|
| 95 |
|
|---|
| 96 | void
|
|---|
| 97 | BasicSurfaceEvaluator::endmap2f( void )
|
|---|
| 98 | {
|
|---|
| 99 | #ifndef NDEBUG
|
|---|
| 100 | dprintf( "endmap2f\n" );
|
|---|
| 101 | #endif
|
|---|
| 102 | }
|
|---|
| 103 |
|
|---|
| 104 | void
|
|---|
| 105 | BasicSurfaceEvaluator::map2f( long, REAL, REAL, long, long,
|
|---|
| 106 | REAL, REAL, long, long,
|
|---|
| 107 | REAL * )
|
|---|
| 108 | {
|
|---|
| 109 | #ifndef NDEBUG
|
|---|
| 110 | dprintf( "map2f\n" );
|
|---|
| 111 | #endif
|
|---|
| 112 | }
|
|---|
| 113 |
|
|---|
| 114 | void
|
|---|
| 115 | BasicSurfaceEvaluator::mapgrid2f( long, REAL, REAL, long, REAL, REAL )
|
|---|
| 116 | {
|
|---|
| 117 | #ifndef NDEBUG
|
|---|
| 118 | dprintf( "mapgrid2f\n" );
|
|---|
| 119 | #endif
|
|---|
| 120 | }
|
|---|
| 121 |
|
|---|
| 122 | void
|
|---|
| 123 | BasicSurfaceEvaluator::mapmesh2f( long, long, long, long, long )
|
|---|
| 124 | {
|
|---|
| 125 | #ifndef NDEBUG
|
|---|
| 126 | dprintf( "mapmesh2f\n" );
|
|---|
| 127 | #endif
|
|---|
| 128 | }
|
|---|
| 129 |
|
|---|
| 130 | void
|
|---|
| 131 | BasicSurfaceEvaluator::evalcoord2f( long, REAL, REAL )
|
|---|
| 132 | {
|
|---|
| 133 | #ifndef NDEBUG
|
|---|
| 134 | dprintf( "evalcoord2f\n" );
|
|---|
| 135 | #endif
|
|---|
| 136 | }
|
|---|
| 137 |
|
|---|
| 138 | void
|
|---|
| 139 | BasicSurfaceEvaluator::evalpoint2i( long, long )
|
|---|
| 140 | {
|
|---|
| 141 | #ifndef NDEBUG
|
|---|
| 142 | dprintf( "evalpoint2i\n" );
|
|---|
| 143 | #endif
|
|---|
| 144 | }
|
|---|
| 145 |
|
|---|
| 146 | void
|
|---|
| 147 | BasicSurfaceEvaluator::bgnline( void )
|
|---|
| 148 | {
|
|---|
| 149 | #ifndef NDEBUG
|
|---|
| 150 | dprintf( "bgnline\n" );
|
|---|
| 151 | #endif
|
|---|
| 152 | }
|
|---|
| 153 |
|
|---|
| 154 | void
|
|---|
| 155 | BasicSurfaceEvaluator::endline( void )
|
|---|
| 156 | {
|
|---|
| 157 | #ifndef NDEBUG
|
|---|
| 158 | dprintf( "endline\n" );
|
|---|
| 159 | #endif
|
|---|
| 160 | }
|
|---|
| 161 |
|
|---|
| 162 | void
|
|---|
| 163 | BasicSurfaceEvaluator::bgnclosedline( void )
|
|---|
| 164 | {
|
|---|
| 165 | #ifndef NDEBUG
|
|---|
| 166 | dprintf( "bgnclosedline\n" );
|
|---|
| 167 | #endif
|
|---|
| 168 | }
|
|---|
| 169 |
|
|---|
| 170 | void
|
|---|
| 171 | BasicSurfaceEvaluator::endclosedline( void )
|
|---|
| 172 | {
|
|---|
| 173 | #ifndef NDEBUG
|
|---|
| 174 | dprintf( "endclosedline\n" );
|
|---|
| 175 | #endif
|
|---|
| 176 | }
|
|---|
| 177 |
|
|---|
| 178 | void
|
|---|
| 179 | BasicSurfaceEvaluator::bgntfan( void )
|
|---|
| 180 | {
|
|---|
| 181 | #ifndef NDEBUG
|
|---|
| 182 | dprintf( "bgntfan\n" );
|
|---|
| 183 | #endif
|
|---|
| 184 | }
|
|---|
| 185 |
|
|---|
| 186 | void
|
|---|
| 187 | BasicSurfaceEvaluator::endtfan( void )
|
|---|
| 188 | {
|
|---|
| 189 | }
|
|---|
| 190 |
|
|---|
| 191 |
|
|---|
| 192 | void
|
|---|
| 193 | BasicSurfaceEvaluator::bgntmesh( void )
|
|---|
| 194 | {
|
|---|
| 195 | #ifndef NDEBUG
|
|---|
| 196 | dprintf( "bgntmesh\n" );
|
|---|
| 197 | #endif
|
|---|
| 198 | }
|
|---|
| 199 |
|
|---|
| 200 | void
|
|---|
| 201 | BasicSurfaceEvaluator::swaptmesh( void )
|
|---|
| 202 | {
|
|---|
| 203 | #ifndef NDEBUG
|
|---|
| 204 | dprintf( "swaptmesh\n" );
|
|---|
| 205 | #endif
|
|---|
| 206 | }
|
|---|
| 207 |
|
|---|
| 208 | void
|
|---|
| 209 | BasicSurfaceEvaluator::endtmesh( void )
|
|---|
| 210 | {
|
|---|
| 211 | #ifndef NDEBUG
|
|---|
| 212 | dprintf( "endtmesh\n" );
|
|---|
| 213 | #endif
|
|---|
| 214 | }
|
|---|
| 215 |
|
|---|
| 216 | void
|
|---|
| 217 | BasicSurfaceEvaluator::bgnqstrip( void )
|
|---|
| 218 | {
|
|---|
| 219 | #ifndef NDEBUG
|
|---|
| 220 | dprintf( "bgnqstrip\n" );
|
|---|
| 221 | #endif
|
|---|
| 222 | }
|
|---|
| 223 |
|
|---|
| 224 | void
|
|---|
| 225 | BasicSurfaceEvaluator::endqstrip( void )
|
|---|
| 226 | {
|
|---|
| 227 | #ifndef NDEBUG
|
|---|
| 228 | dprintf( "endqstrip\n" );
|
|---|
| 229 | #endif
|
|---|
| 230 | }
|
|---|
| 231 |
|
|---|