Skip to content

Commit c772277

Browse files
authored
Update documentation with reference link to Snell's Law
Added a reference link to Snell's Law in the documentation.
1 parent c2fd9c2 commit c772277

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/thealgorithms/physics/SnellsLaw.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/**
44
* Calculates refraction angle using Snell's Law:
55
* n1 * sin(theta1) = n2 * sin(theta2)
6+
* @see <a href="https://en.wikipedia.org/wiki/Snell%27s_law">Snell's Law</a>
67
*/
78
public class SnellLaw {
89

0 commit comments

Comments
 (0)