Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Chan committed Apr 10, 2021
1 parent e110218 commit 0678b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Optical/Fresnel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function processintersection(opticalinterface::FresnelInterface{T}, point::SVect
# refraction
raydirection = refractedray(nᵢ, nₜ, normal, direction(incidentray))
raypower = powₜ * incident_pow
elseif interfacemode(opticalinterace) == Reflect || (interfacemode(opticalinterface) == ReflectOrTransmit && r < (powᵣ + powₜ))
elseif interfacemode(opticalinterface) == Reflect || (interfacemode(opticalinterface) == ReflectOrTransmit && r < (powᵣ + powₜ))
# reflection
raypower = powᵣ * incident_pow
raydirection = reflectedray(normal, direction(incidentray))
Expand Down

0 comments on commit 0678b66

Please sign in to comment.