Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

basicsurfeval.cc 4.6KB

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