This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GenerateQuadMeshShader: public Graphics3D::GeometryShader { | |
public: | |
GenerateQuadMeshShader(std::vector<math::Triangle> & Triangles, Graphics2D::Position StartLeft, Graphics2D::Position StartRight, Graphics2D::Position EndLeft, Graphics2D::Position EndRight):Triangles(Triangles), StartLeft(StartLeft), StartRight(StartRight), EndLeft(EndLeft), EndRight(EndRight) | |
{ | |
StartLeft.y = 0; | |
StartRight.y = 0; | |
EndLeft.y = 0; | |
EndRight.y = 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "stdafx.h" | |
#include "resource.h" | |
#include "Graphics2D.h" | |
#include "Graphics3D.h" | |
#include "Geometry/Triangle.h" | |
#include "Math/float3.h" | |
namespace Logic { |