cartographer-project / point_cloud_viewer

View billions of points in your browser.
Apache License 2.0
339 stars 98 forks source link

Introduce an abstraction for OpenGL uniforms #323

Closed nnmm closed 5 years ago

nnmm commented 5 years ago

The GlUniform struct holds a variable that can be passed to the OpenGL program with glUniform*. The Uniform trait calls the appropriate variant of this function.

nnmm commented 5 years ago

ptal @krzesi-mir

nnmm commented 5 years ago

Thanks for the review! Could you approve again? I had to push a fmt fix.