Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
set todo for lightmap normals
Browse files Browse the repository at this point in the history
  • Loading branch information
JucanAndreiDaniel committed Oct 11, 2023
1 parent dc26976 commit 0a909cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/phoenix/cffi/Mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ typedef phoenix::mesh PxMesh;
typedef struct PxInternal_Mesh PxMesh;
#endif

// TODO: Lightmaps

PXC_API PxMesh* pxMshLoad(PxBuffer* buffer);
PXC_API PxMesh* pxMshLoadFromVfs(PxVfs const* vfs, char const* name);
PXC_API void pxMshDestroy(PxMesh* msh);
Expand All @@ -30,6 +30,7 @@ PXC_API PxVec3 pxMshGetVertex(PxMesh const* msh, uint32_t i);
PXC_API uint32_t pxMshGetFeatureCount(PxMesh const* msh);
PXC_API void pxMshGetFeature(PxMesh const* msh, uint32_t i, PxVec2* texture, uint32_t* light, PxVec3* normal);
PXC_API uint32_t pxMshGetLightMapCount(PxMesh const* msh);
// TODO: Lightmaps add normals vector
PXC_API void pxMshGetLightMap(PxMesh const* msh, uint32_t i, PxTexture const** image, PxVec3* origin);
PXC_API uint32_t const* pxMshGetPolygonMaterialIndices(PxMesh const* msh, uint32_t* length);
PXC_API uint32_t const* pxMshGetPolygonFeatureIndices(PxMesh const* msh, uint32_t* length);
Expand Down

0 comments on commit 0a909cb

Please sign in to comment.