Congrats to Ravinder, who I have just awarded our first "Formulator" badge who is not a forum "Dev Ops" coder. This Formulator Badge is for pushing hard over the years for us to modernize the site, and for many good ideas, including the badging system. Only four people have this badge: Reborg, Scott and Neo (Admin Dev Ops Coders, Past and Present) and Ravinder Singh.
Thanks Again Ravinder!
Wowww I am feeling honored here. Thanks a TON Neo for this, I am grateful to you and feeling happy to do a bit for this GREAT FORUM
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
I have read a document which tells me the following 4 things are done by the RAM embedded on disk driver controller. But I don't know what's difference between buffer and cache. Thanks!
RAM on disk drive controllers
1 firmware
2 speed matching buffer
3 prefetching buffer
4 cache (1 Reply)
Happy New Year!
There are currently four UNIX.COM achievement awards up for grabs, as the say. Here they are, in no particular order:
The Order of the Raven
The Order of the Hippo
The Order of the Spider
The Order of the Dragon
Don't ask me what they mean, or who who will get those... (0 Replies)
Dear All,
Here is the current status of the badging system:
The Beta 1 phase of the new badging system is close to completion.
42 prototype badges have been "allocated"
6 prototype badge slots are held in reserve
The "alert you have new badges" prototype is running and is currently... (4 Replies)
Here is the current array of the short description of badges for the new prototype badging system (Beta 1) with 42 icons allocated (prototype logic written) and 6 reserved (for future use);
<?php
$badges_desc = array(
"fauser" => "Total Post Count",
"faaward" => "First Post",
... (6 Replies)
Dear All,
We have a lot of amazing moderators and other very talented unix.com members who provide tireless top quality free technical support assistance to others. As a service to those long term unix.com members, I am making a new Patreon BBCODE badge available which can be posted in forum... (8 Replies)
Another major upgrade on the new UserCP today. I have created the "My Badges" page in the new control panel, and it's looking very cool :)
If you have visited the new UserCP recently, you will more-than-likely need to close your browser (completely) and then restart it to clear out the old... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT SUSE
glmapgrid
GLMAPGRID(3G)GLMAPGRID(3G)NAME
glMapGrid1d, glMapGrid1f, glMapGrid2d, glMapGrid2f - define a one- or two-dimensional mesh
C SPECIFICATION
void glMapGrid1d( GLint un,
GLdouble u1,
GLdouble u2 )
void glMapGrid1f( GLint un,
GLfloat u1,
GLfloat u2 )
void glMapGrid2d( GLint un,
GLdouble u1,
GLdouble u2,
GLint vn,
GLdouble v1,
GLdouble v2 )
void glMapGrid2f( GLint un,
GLfloat u1,
GLfloat u2,
GLint vn,
GLfloat v1,
GLfloat v2 )
PARAMETERS
un Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive.
u1, u2
Specify the mappings for integer grid domain values i=0 and i=un.
vn Specifies the number of partitions in the grid range interval [v1, v2]
(glMapGrid2 only).
v1, v2
Specify the mappings for integer grid domain values j=0 and j=vn
(glMapGrid2 only).
DESCRIPTION
glMapGrid and glEvalMesh are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh
steps through the integer domain of a one- or two-dimensional grid, whose range is the domain of the evaluation maps specified by glMap1
and glMap2.
glMapGrid1 and glMapGrid2 specify the linear grid mappings between the i (or i and j) integer grid coordinates, to the u (or u and v)
floating-point evaluation map coordinates. See glMap1 and glMap2 for details of how u and v coordinates are evaluated.
glMapGrid1 specifies a single linear mapping such that integer grid coordinate 0 maps exactly to u1, and integer grid coordinate un maps
exactly to u2. All other integer grid coordinates i are mapped so that
u=i(u2-u1)/un+u1
glMapGrid2 specifies two such linear mappings. One maps integer grid coordinate i=0 exactly to u1, and integer grid coordinate i=un
exactly to u2. The other maps integer grid coordinate j=0 exactly to v1, and integer grid coordinate j=vn exactly to v2. Other integer
grid coordinates i and j are mapped such that
u=i(u2-u1)/un+u1
v=j(v2-v1)/vn+v1
The mappings specified by glMapGrid are used identically by glEvalMesh and glEvalPoint.
ERRORS
GL_INVALID_VALUE is generated if either un or vn is not positive.
GL_INVALID_OPERATION is generated if glMapGrid is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_MAP1_GRID_DOMAIN
glGet with argument GL_MAP2_GRID_DOMAIN
glGet with argument GL_MAP1_GRID_SEGMENTS
glGet with argument GL_MAP2_GRID_SEGMENTS
SEE ALSO glEvalCoord(3G), glEvalMesh(3G), glEvalPoint(3G), glMap1(3G), glMap2(3G)GLMAPGRID(3G)