McRogueFace/src/3d
John McCardle bb72040396 Migrate static PyTypeObject to inline, delete PyTypeCache workarounds
All 27 PyTypeObject declarations in namespace mcrfpydef headers changed
from `static` to `inline` (C++17), ensuring a single global instance
across translation units. This fixes the root cause of stale-type-pointer
segfaults where only the McRFPy_API.cpp copy was PyType_Ready'd.

Replaced ~20 PyTypeCache call sites and 2 PyRAII::PyTypeRef lookups with
direct &mcrfpydef::Type references. Deleted PyTypeCache.h/.cpp,
PyObjectUtils.h, and PyRAII.h (all were workarounds for the static bug).

228/228 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 20:58:09 -05:00
..
glad 3D viewport, milestone 1 2026-02-04 13:33:14 -05:00
KHR 3D viewport, milestone 1 2026-02-04 13:33:14 -05:00
shaders rigging and animation 2026-02-04 23:19:03 -05:00
Billboard.cpp Migrate static PyTypeObject to inline, delete PyTypeCache workarounds 2026-02-16 20:58:09 -05:00
Billboard.h billboards 2026-02-04 20:47:51 -05:00
Camera3D.cpp 3D viewport, milestone 1 2026-02-04 13:33:14 -05:00
Camera3D.h 3D viewport, milestone 1 2026-02-04 13:33:14 -05:00
cgltf.h glTF model loading 2026-02-04 19:35:48 -05:00
cgltf_impl.cpp glTF model loading 2026-02-04 19:35:48 -05:00
Entity3D.cpp Fix Entity3D.viewport returning None, closes #244 2026-02-07 20:15:38 -05:00
Entity3D.h Add pop/find/extend to EntityCollection3D, closes #243 2026-02-07 20:15:55 -05:00
EntityCollection3D.cpp Add pop/find/extend to EntityCollection3D, closes #243 2026-02-07 20:15:55 -05:00
EntityCollection3D.h Add pop/find/extend to EntityCollection3D, closes #243 2026-02-07 20:15:55 -05:00
glad.c 3D viewport, milestone 1 2026-02-04 13:33:14 -05:00
Math3D.h Windows/WASM platform fixes 2026-02-07 11:54:01 -05:00
MeshLayer.cpp billboards 2026-02-04 20:47:51 -05:00
MeshLayer.h billboards 2026-02-04 20:47:51 -05:00
Model3D.cpp rigging and animation 2026-02-04 23:19:03 -05:00
Model3D.h rigging and animation 2026-02-04 23:19:03 -05:00
PyVoxelGrid.cpp voxel, animation, and pathfinding combined demo 2026-02-05 22:57:08 -05:00
PyVoxelGrid.h voxel, animation, and pathfinding combined demo 2026-02-05 22:57:08 -05:00
Shader3D.cpp rigging and animation 2026-02-04 23:19:03 -05:00
Shader3D.h rigging and animation 2026-02-04 23:19:03 -05:00
Viewport3D.cpp Add y_plane parameter to screen_to_world(), closes #245 2026-02-07 20:15:48 -05:00
Viewport3D.h Fix Entity3D.viewport returning None, closes #244 2026-02-07 20:15:38 -05:00
VoxelGrid.cpp Voxel functionality extension 2026-02-05 12:52:18 -05:00
VoxelGrid.h voxel, animation, and pathfinding combined demo 2026-02-05 22:57:08 -05:00
VoxelMesher.cpp voxel, animation, and pathfinding combined demo 2026-02-05 22:57:08 -05:00
VoxelMesher.h Voxel functionality extension 2026-02-05 12:52:18 -05:00
VoxelPoint.cpp Windows/WASM platform fixes 2026-02-07 11:54:01 -05:00
VoxelPoint.h pathfinding on heightmap 2026-02-04 16:36:21 -05:00