Xkonti / govec

Go library providing 2D and 3D vector operations
MIT License
6 stars 7 forks source link

Implement `ModScalar` operation #5

Closed Xkonti closed 1 year ago

Xkonti commented 1 year ago

This operation would calculate modulus for each component by a given scalar:

vec2 = vec1.ModScalar(13)