Skylicht Engine
Loading...
Searching...
No Matches
CLatheMesh.h
1#pragma once
2
3#include "ComponentsConfig.h"
4#include "CLine3D.h"
5#include "RenderMesh/CMesh.h"
6#include "Material/CMaterial.h"
7
8namespace Skylicht
9{
14 class COMPONENT_API CLatheMesh
15 {
16 protected:
17 CLine3D m_outline;
18 CMesh* m_mesh;
19
20 public:
21 CLatheMesh();
22
23 virtual ~CLatheMesh();
24
29 inline CMesh* getMesh()
30 {
31 return m_mesh;
32 }
33
38
39 protected:
40
46 void initLatheMesh(CMaterial* material, bool tangent);
47 };
48}
CMesh * getMesh()
Get the generated mesh.
Definition CLatheMesh.h:29
void drawOutline()
Draw the rotational outline using debug lines.
void initLatheMesh(CMaterial *material, bool tangent)
Initialize the lathe mesh by rotating the outline around the Y-axis.
Definition CLine3D.h:6
The object class describes material information such as which shader it's associated with,...
Definition CMaterial.h:84
Definition CMesh.h:75
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition AudioDebugLog.h:29