Kotlin Computational Geometry
Toggle table of contents
0.3.0-rc0
Select version
0.3.0-rc0
0.2.0
0.1.0
common
Platform filter
common
Switch theme
Search in API
Kotlin Computational Geometry
Kotlin Computational Geometry
/
io.github.cponfick.kompgeom.euclidean.twod
/
Vec2
/
times
times
open
operator override
fun
times
(
scalar
:
Double
)
:
Vec2
(
source
)
Scale this vector by a scalar value.
Parameters
scalar
The scalar value to multiply the vector by.