add some reading function
This commit is contained in:
@ -23,6 +23,9 @@ namespace LibCmo::CK2::ObjImpls {
|
||||
// ===== Misc Section =====
|
||||
public:
|
||||
void CleanMesh();
|
||||
protected:
|
||||
void BuildNormals();
|
||||
void BuildFaceNormals();
|
||||
|
||||
// ===== Line Section =====
|
||||
public:
|
||||
@ -73,6 +76,13 @@ namespace LibCmo::CK2::ObjImpls {
|
||||
void SyncMtlChannelToFaceMask(); // request all face accept all material channels.
|
||||
|
||||
protected:
|
||||
enum class VertexSaveFlags : CKDWORD {
|
||||
SingleColor = 0x1u, /**< if not set, the VertexColor is a list<73><74> otherwise a single global CKDWORD.*/
|
||||
SingleSpecularColor = 0x2u, /**< if not set, the VertexSpecularColor is a list<73><74> otherwise a single global CKDWORD. */
|
||||
NoNormal = 0x4u, /**< if set, there are no normal data for vertex. */
|
||||
SingleUV = 0x8u, /**< if not set, the VertexUV is a list<73><74> otherwise a single global VxVertex2. */
|
||||
NoPos = 0x10u, /**< if set, there are no position data for vertex. */
|
||||
};
|
||||
struct FaceData_t {
|
||||
FaceData_t() :
|
||||
m_Normal(),
|
||||
|
Reference in New Issue
Block a user