Conversation
refactor(Math): 重命名近远裁剪面参数为nearPlane和farPlane feat(主程序): 添加详细的错误日志和调试信息输出 style: 统一代码格式和注释风格 perf(渲染器): 优化缓冲区管理和实例化渲染性能 fix(渲染器): 修复着色器程序验证和错误处理逻辑 docs: 更新注释和文档说明
添加输入参数验证和边界检查,防止除零和无效计算 改进日志系统和错误处理机制 优化OpenGL调试输出和错误检测 减少粒子数量以提高稳定性
添加详细的测试指南文档TEST_GUIDE.md,包含测试类别、编译运行方法和测试用例说明 实现测试框架头文件test_framework.h,提供断言宏、测试分类和内存检测功能
引入 TOKENPASTE 和辅助宏来简化 TEST_CATEGORY 和 TEST 的定义 通过 __LINE__ 确保宏展开唯一性,避免命名冲突
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor(test_framework): 使用宏简化测试代码定义
引入 TOKENPASTE 和辅助宏来简化 TEST_CATEGORY 和 TEST 的定义
通过 LINE 确保宏展开唯一性,避免命名冲突