Skip to content

Commit

Permalink
2024/01/13 - First ugly implementation of previous/next of arbitrary …
Browse files Browse the repository at this point in the history
…functions
  • Loading branch information
FadiShawki committed Jan 13, 2024
1 parent e44a0b4 commit f49d87e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/@orbitmines/explorer/Ray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ export class Ray // Other possibly names: AbstractDirectionality, ..., ??
[RayType.INITIAL]: (ref) => ref.self.switch({
// TODO REVERSE OF TERMINAL..

[RayType.TERMINAL]: (ref) => direction(ref).switch({ // TODO: This is applying the function again, should be separate?
// TODO: direction(ref) is probably concidently the same here..
[RayType.TERMINAL]: (ref) => direction(ref).switch({ // TODO: This is applying the function again, should be separate?
// Found a next Vertex.
[RayType.VERTEX]: (self) => self,
}),
Expand Down

0 comments on commit f49d87e

Please sign in to comment.