Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f273ca6684
@ -13,7 +13,7 @@ internal class LinearInterpolatorTest {
|
|||||||
@Test
|
@Test
|
||||||
fun testInterpolation() {
|
fun testInterpolation() {
|
||||||
val data = listOf(
|
val data = listOf(
|
||||||
0.0 to 0.0,
|
0.0 to 0.1,
|
||||||
1.0 to 1.0,
|
1.0 to 1.0,
|
||||||
2.0 to 3.0,
|
2.0 to 3.0,
|
||||||
3.0 to 4.0
|
3.0 to 4.0
|
||||||
|
@ -27,7 +27,7 @@ internal class ProjectionAlongTest {
|
|||||||
@Test
|
@Test
|
||||||
fun projectionOntoLine() {
|
fun projectionOntoLine() {
|
||||||
with(Euclidean2DSpace) {
|
with(Euclidean2DSpace) {
|
||||||
val a = 5.0
|
val a = 4.0
|
||||||
val b = -3.0
|
val b = -3.0
|
||||||
val c = -15.0
|
val c = -15.0
|
||||||
val normal = Vector2D(-5.0, 3.0)
|
val normal = Vector2D(-5.0, 3.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user