sculpto
full_screen_quad.cpp
Go to the documentation of this file.
1/*!****************************************************************//*!*
2 * \file full_screen_quad.h
3 * \brief Topology full screen quad object class implementation module.
4 *
5 * \author Sabitov Kirill
6 * \date 12 July 2022
7 *********************************************************************/
8
9#include "sclpch.h"
10#include "full_screen_quad.h"
11
13 grid(1, 1)
14{
15 Vertices.push_back(vertex({ -1, -1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 0, 0 }));
16 Vertices.push_back(vertex({ -1, 1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 0, 1 }));
17 Vertices.push_back(vertex({ 1, -1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 1, 0 }));
18 Vertices.push_back(vertex({ 1, 1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 1, 1 }));
19}
std::vector< vertex > Vertices
Definition: basis.h:22
Topology full screen quad object class implementation module.
Sculpto library prehompiled header. Defines common definitions, includes commonly used modules.