Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
TheAlgorithms
/
Java
Public
Notifications
You must be signed in to change notification settings
Fork
21.3k
Star
66.2k
Code
Issues
5
Pull requests
10
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Add Snell's Law refraction algorithm
- #7150
#7150
Merged
DenizAltunkapan
merged 13 commits into
TheAlgorithms:master
TheAlgorithms/Java:master
from
Dsannue:patch-1
Dsannue/Java:patch-1
Copy head branch name to clipboard
Dec 7, 2025
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Add Snell's Law refraction algorithm
#7150
DenizAltunkapan
merged 13 commits into
TheAlgorithms:master
TheAlgorithms/Java:master
from
Dsannue:patch-1
Dsannue/Java:patch-1
Copy head branch name to clipboard
Commits
Commits on Dec 4, 2025
Add Snell's Law implementation for refraction angle
Dsannue
authored
19aa44a
View commit details
Copy full SHA for 19aa44a
Browse repository at this point
Add tests for Snell's Law calculations
Dsannue
authored
c2fd9c2
View commit details
Copy full SHA for c2fd9c2
Browse repository at this point
Update documentation with reference link to Snell's Law
Show description for c772277
Dsannue
authored
c772277
View commit details
Copy full SHA for c772277
Browse repository at this point
Prevent instantiation of SnellLaw class
Show description for 2023730
Dsannue
authored
2023730
View commit details
Copy full SHA for 2023730
Browse repository at this point
Rename SnellsLawTest to SnellLawTest
Dsannue
authored
bc2b66c
View commit details
Copy full SHA for bc2b66c
Browse repository at this point
Refactor SnellLawTest for clarity and accuracy
Dsannue
authored
31c8df5
View commit details
Copy full SHA for 31c8df5
Browse repository at this point
Commits on Dec 5, 2025
Rename SnellsLaw.java to SnellLaw.java
Dsannue
authored
cfe8791
View commit details
Copy full SHA for cfe8791
Browse repository at this point
Refactor SnellLawTest with additional assertions
Dsannue
authored
2251f27
View commit details
Copy full SHA for 2251f27
Browse repository at this point
Refactor SnellLaw class constructor and error handling
Show description for cbdfa53
Dsannue
authored
cbdfa53
View commit details
Copy full SHA for cbdfa53
Browse repository at this point
Fix missing newline at end of SnellLawTest.java
Show description for e131ff9
Dsannue
authored
e131ff9
View commit details
Copy full SHA for e131ff9
Browse repository at this point
Simplify assertions in SnellLawTest
Dsannue
authored
0d7efd2
View commit details
Copy full SHA for 0d7efd2
Browse repository at this point
Simplify exception throwing for total internal reflection
Dsannue
authored
796cfe1
View commit details
Copy full SHA for 796cfe1
Browse repository at this point
Merge branch 'master' into patch-1
DenizAltunkapan
authored
9f0d15d
View commit details
Copy full SHA for 9f0d15d
Browse repository at this point
You can’t perform that action at this time.