GWN: Add immVertex4f.
This commit is contained in:
parent
b3ef5a04d1
commit
c48b6fae9a
|
@ -70,6 +70,7 @@ void immSkipAttrib(unsigned attrib_id);
|
|||
// this is most often used for 2D or 3D position (similar to glVertex)
|
||||
void immVertex2f(unsigned attrib_id, float x, float y);
|
||||
void immVertex3f(unsigned attrib_id, float x, float y, float z);
|
||||
void immVertex4f(unsigned attrib_id, float x, float y, float z, float w);
|
||||
|
||||
void immVertex2i(unsigned attrib_id, int x, int y);
|
||||
|
||||
|
|
|
@ -710,6 +710,12 @@ void immVertex3f(unsigned attrib_id, float x, float y, float z)
|
|||
immEndVertex();
|
||||
}
|
||||
|
||||
void immVertex4f(unsigned attrib_id, float x, float y, float z, float w)
|
||||
{
|
||||
immAttrib4f(attrib_id, x, y, z, w);
|
||||
immEndVertex();
|
||||
}
|
||||
|
||||
void immVertex2i(unsigned attrib_id, int x, int y)
|
||||
{
|
||||
immAttrib2i(attrib_id, x, y);
|
||||
|
|
Loading…
Reference in New Issue