Skip to content

Commit e97b965

Browse files
committed
fix vec4b to
1 parent ac111e4 commit e97b965

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class Vec4b(x: Byte, y: Byte, z: Byte, w: Byte) : Vec4t<Byte>(x, y, z, w) {
7979
bytes.put(offset, x)
8080
bytes.put(offset + Byte.BYTES, y)
8181
bytes.put(offset + Byte.BYTES * 2, z)
82+
bytes.put(offset + Byte.BYTES * 3, w)
8283
return bytes
8384
}
8485

0 commit comments

Comments
 (0)