/* * This file is part of Shimatta OpenGL. * * Shimatta OpenGL is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Shimatta OpenGL is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GtkGraphView. If not, see . */ #ifndef _SHIMATTA_OPENGL_COLORED_TRIANGLE_H_ #define _SHIMATTA_OPENGL_COLORED_TRIANGLE_H_ #include #include G_BEGIN_DECLS #define SHIMATTA_TYPE_OPENGL_COLORED_TRIANGLE (shimatta_opengl_colored_triangle_get_type()) G_DECLARE_FINAL_TYPE(ShimattaOpenglColoredTriangle, shimatta_opengl_colored_triangle, SHIMATTA, OPENGL_COLORED_TRIANGLE, ShimattaOpenglGraphics); ShimattaOpenglGraphics *shimatta_opengl_colored_triangle_new(ShimattaOpenglProgram *prog, const vec3 color, const vec3* vertecies); G_END_DECLS #endif /* _SHIMATTA_OPENGL_COLORED_TRIANGLE_H_ */