MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / convert2

Method convert2

src/main/java/trace/physics/PhysicsSystem.kt:441–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440 private fun convert(center: field.linalg.Vec2): org.jbox2d.common.Vec2 =
441 org.jbox2d.common.Vec2(center.x.toFloat(), center.y.toFloat())
442
443 private fun convert2(center: org.jbox2d.common.Vec2): field.linalg.Vec2 =
444 field.linalg.Vec2(center.x.toDouble(), center.y.toDouble())
445

Callers

nothing calls this directly

Calls 1

Vec2Method · 0.80

Tested by

no test coverage detected