Hopson97 / rusty-gl

Wrapper over gl-rs, to make code look more like Rust and less like C while still having classical OpenGL control as you would in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation mismatch for rgl::buffers::bind_buffer

wyf18 opened this issue Β· comments

Hello! πŸ™
While scanning crates.io. we noticed a document-code mismatch issue in this crate, we think the doc examples are generally meant to illustrate why someone would want to use the item.

Location

documentation for rgl::buffers::[bind_buffer](https://docs.rs/rgl/0.2.0/rgl/buffers/fn.bind_buffer.html)

rgl::buffers::[gen_buffer](https://docs.rs/rgl/0.2.0/rgl/buffers/fn.gen_buffer.html)

Summary

The example of the document does not mention the bind_buffer, gen_buffer function, it is not clear how to use it.

Thank you for checking out this issue! πŸ‘πŸ€—