Logo
Vertex.h
1#pragma once
2
3#include "math/Vector2.h"
4#include "math/Vector3.h"
5#include "gfx/Color.h"
6
7namespace SharpKmyGfx
8{
9 public value struct VertexPositionColor {
12 VertexPositionColor(float x, float y, float z, SharpKmyGfx::Color c) {
13 pos.x = x;
14 pos.y = y;
15 pos.z = z;
16 color = c;
17 }
18 };
19
20 public value struct VertexPositionTextureColor {
24 };
25
31 };
32
39 bool flg;
40 };
41}
Definition: Color.h:5
Definition: Billboard.cpp:4
Definition: Vertex.h:9
SharpKmyGfx::Color color
Definition: Vertex.h:11
VertexPositionColor(float x, float y, float z, SharpKmyGfx::Color c)
Definition: Vertex.h:12
SharpKmyMath::Vector3 pos
Definition: Vertex.h:10
SharpKmyMath::Vector2 tc
Definition: Vertex.h:35
SharpKmyMath::Vector3 tangent
Definition: Vertex.h:38
SharpKmyMath::Vector3 normal
Definition: Vertex.h:37
SharpKmyGfx::Color color
Definition: Vertex.h:36
SharpKmyMath::Vector3 pos
Definition: Vertex.h:34
SharpKmyMath::Vector2 tc2
Definition: Vertex.h:35
SharpKmyMath::Vector2 tc
Definition: Vertex.h:28
SharpKmyMath::Vector3 normal
Definition: Vertex.h:30
SharpKmyMath::Vector3 pos
Definition: Vertex.h:27
SharpKmyGfx::Color color
Definition: Vertex.h:29
SharpKmyGfx::Color color
Definition: Vertex.h:23
SharpKmyMath::Vector3 pos
Definition: Vertex.h:21
SharpKmyMath::Vector2 tc
Definition: Vertex.h:22
Definition: Vector3.h:186
Definition: Vector3.h:8
float y
Definition: Vector3.h:11
float z
Definition: Vector3.h:11
float x
Definition: Vector3.h:11