From 0a909cb5197f8849e23d139f4aced1e3fc6c1c96 Mon Sep 17 00:00:00 2001 From: Jucan Andrei Daniel Date: Wed, 11 Oct 2023 18:02:56 +0300 Subject: [PATCH] set todo for lightmap normals --- include/phoenix/cffi/Mesh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/phoenix/cffi/Mesh.h b/include/phoenix/cffi/Mesh.h index 7c1a056..04ca115 100644 --- a/include/phoenix/cffi/Mesh.h +++ b/include/phoenix/cffi/Mesh.h @@ -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); @@ -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);