mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #5726 from aoki1980taichi/patch-1
fix typo otherBasis -> orthoBasis
This commit is contained in:
@@ -179,7 +179,7 @@ def clamp(f)
|
||||
i.to_i
|
||||
end
|
||||
|
||||
def otherBasis(basis, n)
|
||||
def orthoBasis(basis, n)
|
||||
basis[2] = Vec.new(n.x, n.y, n.z)
|
||||
basis[1] = Vec.new(0.0, 0.0, 0.0)
|
||||
|
||||
@@ -211,7 +211,7 @@ class Scene
|
||||
|
||||
def ambient_occlusion(isect)
|
||||
basis = Array.new(3)
|
||||
otherBasis(basis, isect.n)
|
||||
orthoBasis(basis, isect.n)
|
||||
|
||||
ntheta = NAO_SAMPLES
|
||||
nphi = NAO_SAMPLES
|
||||
|
||||
Reference in New Issue
Block a user