ITADN

Fix missing *3 stride in BoT normal array indexing in k-g converter

#231Pull Requestlaithaldaeef 创建于 2026-03-31
L
laithaldaeefcommented
The `add_normal()` function in `bot.cpp` indexes the flat-packed normals array without the required `* 3` stride. The sibling function `add_vertex()` correctly uses `ret * 3`, and every other normal array access across BRL-CAD (e.g., `src/librt/primitives/bot/bot.c`, `src/conv/obj-g.c`) uses `index * 3`.
合并状态:未合并 1 条评论