Skip to content

Commit ac111e4

Browse files
committed
fixed broken
1 parent 03f3fac commit ac111e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/glm_/vec4/Vec4.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ class Vec4(x: Float, y: Float, z: Float, w: Float) : Vec4t<Float>(x, y, z, w) {
114114
return floats
115115
}
116116

117-
infix fun to(bytes: ByteBuffer) = to(bytes, bytes.position())
118-
fun to(bytes: ByteBuffer, offset: Int): ByteBuffer {
117+
override infix fun to(bytes: ByteBuffer) = to(bytes, bytes.position())
118+
override fun to(bytes: ByteBuffer, offset: Int): ByteBuffer {
119119
bytes.putFloat(offset, x)
120120
bytes.putFloat(offset + Float.BYTES, y)
121121
bytes.putFloat(offset + Float.BYTES * 2, z)

0 commit comments

Comments
 (0)