but this isn't working... why? (tried also `Vec3::...
# announcements
e
but this isn't working... why? (tried also
Vec3::class
and
::class.java
)
Copy code
fun bufferOf(vertices: Collection<*>) = when (vertices.elementAt(0)) {
                Vec3 -> ...
}