JuliaGL / ModernGL.jl

OpenGL 3+ bindings for Julia
MIT License
125 stars 29 forks source link

Missing: glRecti & glRectf #60

Closed Gilga closed 4 years ago

Gilga commented 4 years ago

Missing: glRecti & glRectf in master branch

Example

glRecti(x::Number,y::Number,z::Number,w::Number) = ccall((:glRecti, "opengl32.dll"), Cvoid, (Int32,Int32,Int32,Int32), x,y,z,w)
glRectf(x::Number,y::Number,z::Number,w::Number) = ccall((:glRectf, "opengl32.dll"), Cvoid, (Float32,Float32,Float32,Float32), x,y,z,w)
SimonDanisch commented 4 years ago

This is OpenGL 1.0, so not ModernGL ;)