Therefore the offset of the texture coordinates needs to be 12 (4*3) instead of 3: let _v_a_ptr1 = VertexAttribPtr::new(1, 2, gl::FLOAT, ...
確定! 回上一頁