[orx-shapes, orx-mesh-generator] Move frames code from orx-mesh-generator to orx-shapes
This commit is contained in:
@@ -92,6 +92,14 @@ abstract class RectifiedPath<T : EuclideanVector<T>>(
|
||||
}
|
||||
}
|
||||
|
||||
fun direction(t: Double): T {
|
||||
return if (path.empty) {
|
||||
path.infinity
|
||||
} else {
|
||||
path.direction(rectify(safe(t)))
|
||||
}
|
||||
}
|
||||
|
||||
abstract fun sub(t0: Double, t1: Double): Path<T>
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user