manual 补充; cpu 写法速度不可接受

This commit is contained in:
bk_office
2026-04-27 15:28:13 +08:00
parent b7f90b0c9e
commit 88f1f45b94
2 changed files with 18 additions and 109 deletions

View File

@ -14,5 +14,23 @@
其中 `obj_ty`、`op_ty` 分别为物体类型(如 `cube`、`sphere`、`torus` 等)与变换类型(如 `pos`、`rot`)。
# 支持的物体
目前支持的物体有(不包含 alias
`cube`:可选参数长宽高
`sphere`:可选参数半径
`torus`:可选参数半径与粗细
`cylinder`:可选参数半径与高度
`capsule`:可选参数高度与半径
特殊物体:
`camera`:可选参数焦距
# 支持的变换
目前支持的变换有
`pos`
`rot`
`color`
`lookat`
# 特殊说明
`<op_ty>` 不包含 scale。非正交的变换会破坏 SDF 的性质。