How kaweees/kiwigl works
Main Components Identification
a) API Layer
• Entry point through kiwigl.hpp
• Public interfaces for users
b) Core Components
• Geometry System
• Graphics System
• Texture System
c) Hardware Acceleration Layer
• CUDA Implementation
• Metal Implementation
• CPU Fallback
Component Relationships
[Application Layer]
• ↓
[KiwiGL Public API]
• ↓
┌─────────────────────────┐
• Core Components │
• ┬──────┬───────┤
• Geometry │Graph-│Texture│
• System │ics │System │
• System│ │
• ┴──────┴───────┘
• ↓
[Hardware Acceleration Layer]
• ┬─────────┬──────┐
• CUDA │Metal │CPU │
• Backend │Backend │Back- │
• end │
• ┴─────────┴──────┘
Detailed Component Breakdown
For each major component, show:
Geometry System:
• Vector
• Face
• Mesh
• Triangle
Graphics System:
• Display
• FrameBuffer
Texture System:
• Texture management
Implementation Details
Notes for:
• Left-handed coordinate system
• Counter-clockwise winding order
• GPU acceleration paths
• Memory management flow