фикс структуры с даными о вершинах
This commit is contained in:
		
							parent
							
								
									ffd90131e9
								
							
						
					
					
						commit
						b7f9d0cb50
					
				@ -1,11 +1,12 @@
 | 
				
			|||||||
#ifndef VERTEX_H
 | 
					#ifndef VERTEX_H
 | 
				
			||||||
#define VERTEX_H
 | 
					#define VERTEX_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <GLM/vec3.hpp>
 | 
					#include <GLM/glm.hpp>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct _Vertex
 | 
					typedef struct _Vertex
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    glm::vec3 position, color;    
 | 
					    glm::vec2 position;
 | 
				
			||||||
 | 
					    glm::vec3 color;    
 | 
				
			||||||
} Vertex;
 | 
					} Vertex;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // VERTEX_H
 | 
					#endif // VERTEX_H
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user