Search
 
SCRIPT & CODE EXAMPLE
 

CPP

opengl triangle example

glBegin(GL_TRIANGLES);
    glColor3f(1.0f, 0.2f, 0.3f);
    glVertex3f( 0.0f,  0.5f, 0.0f);
    glVertex3f( 0.5f, -0.5f, 0.0f);
    glVertex3f(-0.5f, -0.5f, 0.0f);
glEnd();
Comment

PREVIOUS NEXT
Code Example
Cpp :: c++ get last element in array 
Cpp :: c++ cout int 
Cpp :: c++ string to vector int 
Cpp :: iterator c++ 
Cpp :: subsequence 
Cpp :: 18 in 12 hour time 
Cpp :: fenwick tree 
Cpp :: c++ variables 
Cpp :: c++ permutation 
Cpp :: how to initialize priority queue c++ 
Cpp :: std::string remove last 
Cpp :: c++ filesystem remove file 
Cpp :: c++ environment setup 
Cpp :: no match for ‘operator=’ (operand types are ‘std::basic_ostream’ and ‘int’) 
C :: C output color font 
C :: What are the 3 basic types of Plate Boundaries? Explain their differences (how they act). 
C :: dynamic 2d arr in c 
C :: octave square each element matrix 
C :: execution time of c program 
C :: lerp function c 
C :: calculator in c 
C :: write a program in c to check whether the number is armstrong or not 
C :: find smallest number in array in c 
C :: function for quicksort in c 
C :: typedef pointer 
C :: matrix multiplication in c 
C :: set value of boolean in c 
C :: how to get input in 2d array in c 
C :: measure time in c 
C :: malloc contiguous 2d array 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =