メインコンテンツまでスキップ
glre
Docs
API
Guide
Primitives
日本語
English
日本語
GitHub
Sphere
Sphere
Code Example
float
sphereSDF
(
vec3 p
,
float
s
)
{
return
length
(
p
)
-
s
;
}
前へ
Primitives
次へ
Box