Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Primitive
LatheMesh
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
8
namespace
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
37
void
drawOutline
();
38
39
protected
:
40
46
void
initLatheMesh
(
CMaterial
* material,
bool
tangent);
47
};
48
}
Skylicht::CLatheMesh::getMesh
CMesh * getMesh()
Get the generated mesh.
Definition
CLatheMesh.h:29
Skylicht::CLatheMesh::drawOutline
void drawOutline()
Draw the rotational outline using debug lines.
Skylicht::CLatheMesh::initLatheMesh
void initLatheMesh(CMaterial *material, bool tangent)
Initialize the lathe mesh by rotating the outline around the Y-axis.
Skylicht::CLine3D
Definition
CLine3D.h:6
Skylicht::CMaterial
The object class describes material information such as which shader it's associated with,...
Definition
CMaterial.h:84
Skylicht::CMesh
Definition
CMesh.h:75
Skylicht
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition
AudioDebugLog.h:29
Generated by
1.17.0