Skip to content

Commit

Permalink
Half in water refraction UX (#26)
Browse files Browse the repository at this point in the history
Fixed: Beam:RefractWaterAir not hitting after internal reflection
Fixed: Materials with capital letters not being found
Fixed: Postponed water surface registration is handles correctly
Fixed: Traversing from `prop_physics` to `gmod_raser refractor` error
Fixed: User experience for accurate refraction via contents
Added: Abstraction for comparing and checking contents
Added: Beam method `SetWaterRay` taking care of `wat.W`
Added: Dedicated flag for water medium request
Added: Default use values for `beam.GetWater%`
Added: Global library content checker
Added: Global library water content checker
Added: Logs and tests for checking world contents
Added: Meta-table water indexing
Added: More materials for reflection and refraction
Added: OBBMaxs draws on client
Added: Undefined water plane `mtBeam:IsWater` returns `nil` instead of `false`
Added: Water plane updater
Added: `beam:GetWaterDot` to notify if the beam goes up or down
Added: `beam:GetWater` method to be used in `DoBeam`
Added: `beam:SetSurfaceWater` To take care of he water surface
Changed: Both origin/direction checkers do not cashes
Changed: Move both functions a fit up before used
Changed: `beam.GetWaterDot` to `GetWaterDirect`
Changed: `beam.IsWater` to `beam.GetWaterOrigin`
Optimize: methods in some cases
Optimize: Library traces when length is provided
Optimize: Material type performance improvements
Removed: Beam water direction, margin and flags not needed anymore
Renamed: `LaserLib.ExtractVas` to `LaserLib.ExtractCon`
Updated: `beam.GetWater%` now supports 4 different states
  • Loading branch information
dvdvideo1234 authored Aug 16, 2022
1 parent 2366638 commit ca91a91
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 69 deletions.
Loading

0 comments on commit ca91a91

Please sign in to comment.