Search
 
SCRIPT & CODE EXAMPLE
 

CPP

gl draw line rectangle

glBegin(GL_LINE_LOOP) ;
    glVertex3f(0.0, 0.0, 0.0);
    glVertex3f(0.0, 0.5, 0.0);
    glVertex3f(0.5, 0.5, 0.0);
    glVertex3f(0.5, 0.0, 0.0);
glEnd() ;
Comment

gl draw line rectangle

glBegin(GL_LINE_LOOP) ;
    glVertex3f(0.0, 0.0, 0.0);
    glVertex3f(0.0, 0.5, 0.0);
    glVertex3f(0.5, 0.5, 0.0);
    glVertex3f(0.5, 0.0, 0.0);
glEnd() ;
Comment

PREVIOUS NEXT
Code Example
Cpp :: C++ sqlite open file in other directory 
Cpp :: c++ save typeid 
Cpp :: time measurement c++ 
Cpp :: pyramid shape in c++ 
Cpp :: eosio get time 
Cpp :: input pdf latex 
Cpp :: certificate exe application 
Cpp :: how to specify how many decimal to print out with std::cout 
Cpp :: std::tuple apply multiplier 
Cpp :: differency between c++ std and stl 
Cpp :: c++ rand() 
Cpp :: qstring get if empty 
Cpp :: how to writt array in c++ 
Cpp :: c++ file to string 
Cpp :: cpp random number in range 
Cpp :: how to return 2d array from function c++ 
Cpp :: cout was not declared in this scope 
Cpp :: how to check sqrt of number is integer c++ 
Cpp :: removing a character from a string in c++ 
Cpp :: cpp merge two sets 
Cpp :: c++ mst kruskal 
Cpp :: delete file cpp 
Cpp :: return by reference in cpp 
Cpp :: difference between lower and upper bound 
Cpp :: lerp function c++ 
Cpp :: c++ vector average 
Cpp :: how to get size of char array in c++ 
Cpp :: abs in c++ 
Cpp :: c++ segmented sieve 
Cpp :: c++ get char of string 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =