「ポイントライトの減衰」の版間の差分
Administrator (トーク | 投稿記録) 編集の要約なし |
Administrator (トーク | 投稿記録) |
||
| 24行目: | 24行目: | ||
==Bakery== | ==Bakery== | ||
[[ | 常に「+1」することで[[ゼロ除算]]になることがないという方法。 | ||
attenuation = 1 / ( pow(x, 2) + 1 ) | attenuation = 1 / ( pow(x, 2) + 1 ) | ||
編集の要約なし |
|||
| 24行目: | 24行目: | ||
==Bakery== | ==Bakery== | ||
[[ | 常に「+1」することで[[ゼロ除算]]になることがないという方法。 | ||
attenuation = 1 / ( pow(x, 2) + 1 ) | attenuation = 1 / ( pow(x, 2) + 1 ) | ||