ExtendRealityLtd / Zinnia.Unity

A collection of design patterns for solving common problems.
http://vrtk.io
MIT License
319 stars 38 forks source link

fix(StraightLineCast) : fixed issue #557 #558

Closed studentutu closed 2 years ago

studentutu commented 2 years ago

fix(StraightLineCast) : fixed issue when PointsCast is disabled, but state is still valid. Issue #557

Also, refactored part for points array to be of a proper size before using them both in PointsCast and in ParabolicLineCast

thestonefox commented 2 years ago

This pull request is a bit all over the place now with extra commits and unnecessary merges.

Rather than keep working on fixing this, i'll close it and i'll just add the changes required to a pull request I'm doing:

https://github.com/ExtendRealityLtd/Zinnia.Unity/pull/560

commit: https://github.com/ExtendRealityLtd/Zinnia.Unity/pull/560/commits/c4444e6e03ed7ba0d5a8b504ea15b584c3454a60