示例#1
0
文件: gl.go 项目: extrame/gl
// PolygonMode calls glPolygonMode
func PolygonMode(face, mode int) {
	C.glPolygonMode(C.GLenum(face), C.GLenum(mode))
}
示例#2
0
文件: gl.go 项目: james4k/gl
//void glPolygonMode (GLenum face, GLenum mode)
func PolygonMode(face GLenum, mode GLenum) {
	C.glPolygonMode(C.GLenum(face), C.GLenum(mode))
}