-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor framerate improvement(s) (#78)
* change snap code for better framerate * change switch snap code for better framerate * build 99 compatibility * update cargo enum #79 * build 99 part 2 * delete obsolete mapify.unitypackage * rm commented code * Build 99.2 * SnappedTrarck code style
- Loading branch information
Showing
3 changed files
with
305 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Mapify.Editor | ||
{ | ||
public class SnappedTrack | ||
{ | ||
private Track track; | ||
private BezierPoint point; | ||
|
||
public SnappedTrack(Track aTrack, BezierPoint aPoint) | ||
{ | ||
track = aTrack; | ||
point = aPoint; | ||
} | ||
|
||
public void UnSnapped() | ||
{ | ||
if (track == null){ return; } | ||
track.UnSnapped(point); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.