[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libpaper Paper.hxx
From: |
Asko Soukka |
Subject: |
[Gzz-commits] gzz/gfx/libpaper Paper.hxx |
Date: |
Sat, 28 Sep 2002 10:27:32 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Asko Soukka <address@hidden> 02/09/28 10:27:32
Modified files:
gfx/libpaper : Paper.hxx
Log message:
minor doc fix
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/Paper.hxx.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
Patches:
Index: gzz/gfx/libpaper/Paper.hxx
diff -c gzz/gfx/libpaper/Paper.hxx:1.9 gzz/gfx/libpaper/Paper.hxx:1.10
*** gzz/gfx/libpaper/Paper.hxx:1.9 Sat Sep 28 06:22:22 2002
--- gzz/gfx/libpaper/Paper.hxx Sat Sep 28 10:27:32 2002
***************
*** 156,163 ****
* 2) using a vertex program
* - call setUp_VP with LightParam to use
* - call glTexCoord*() and glVertex*() directly from
! * the context _or_ call vector_VP() with vertex and
! * texture coordinates in vector arrays of 4 floats.
* - call teardown_VP()
*
* 3) using explicit coordinates
--- 156,164 ----
* 2) using a vertex program
* - call setUp_VP with LightParam to use
* - call glTexCoord*() and glVertex*() directly from
! * the context, use vertex arrays _or_ call vector_VP()
! * with vertex and texture coordinates in arrays
! * of 4 floats.
* - call teardown_VP()
*
* 3) using explicit coordinates
***************
*** 209,219 ****
/** Vertex program version of the paperpass vertex
* Calling vertex_VP() is optional. It's possible to call
* glTexCoord*() and glVertex*() directly from the context
! * and choose the best function variant (vertex_VP() forces
! * to pass coordinates in vector arrays of 4 floats).
*
! * @param pos vertex position (vector of 4 floats)
! * @param ppos position within paper (vector of 4 floats)
*/
void vertex_VP(float *pos, float *ppos) {
glTexCoord4fv(ppos);
--- 210,220 ----
/** Vertex program version of the paperpass vertex
* Calling vertex_VP() is optional. It's possible to call
* glTexCoord*() and glVertex*() directly from the context
! * and choose the best function variant or use vertex arrays
! * (vertex_VP() forces to pass coordinates in arrays of 4 floats).
*
! * @param pos vertex position (array of 4 floats)
! * @param ppos position within paper (array of 4 floats)
*/
void vertex_VP(float *pos, float *ppos) {
glTexCoord4fv(ppos);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gfx/libpaper Paper.hxx,
Asko Soukka <=