.. _program_listing_file_gui_Demeter_Renderer_Vertex.hpp: Program Listing for File Vertex.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``gui/Demeter/Renderer/Vertex.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include #include struct Vertex { glm::vec3 position; glm::vec2 texCoord; glm::vec3 normal; friend std::ostream &operator<<(std::ostream &os, const Vertex &v) { os << v.position.x << ' ' << v.position.y << ' ' << v.position.z << '\t' << v.texCoord.x << ' ' << v.texCoord.y << '\t' << v.normal.x << ' ' << v.normal.y << ' ' << v.normal.z << '\n'; return os; } };