Minor comment update

This commit is contained in:
Brendan Zabarauskas 2012-11-22 06:58:42 +10:00
parent 3874cccde8
commit 1e0d410eb6

View file

@ -1,11 +1,10 @@
/// ///
/// This module contains various type aliases and static function wrappers to /// This module contains various type aliases and method wrappers to make working
/// make working with OpenGL cleaner and safer than working with the lmath types /// with OpenGL cleaner and safer than working with the lmath types directly.
/// directly. This is especially important when working with type-sensitive OpenGL /// This is especially important when working with type-sensitive OpenGL functions
/// functions (such as `glVertexAttribPointer` and `glUniformMatrix4fv`) where a /// such as `glVertexAttribPointer` and `glUniformMatrix4fv`) where a simple mistake
/// simple mistake such writing `Vec3::new(1, 2, 3)` or `Vec3::new(1f, 2f, 3f)` /// such writing `Vec3::new(1, 2, 3)` or `Vec3::new(1f, 2f, 3f)` as opposed to
/// as opposed to `Vec3::new(1f32, 2f32, 3f32)` could cause you an afternoon of /// `Vec3::new(1f32, 2f32, 3f32)` could cause you an afternoon of pain.
/// pain ("Where's my triangle!" he shouts in fustration).
/// ///
/// To give you an example of how using the wrapper methods can clean up your /// To give you an example of how using the wrapper methods can clean up your
/// code and make debugging far easier, instead of writing: /// code and make debugging far easier, instead of writing:
@ -14,7 +13,7 @@
/// let v: Mat4<f64> = NumericMatrixNxN::identity(); /// let v: Mat4<f64> = NumericMatrixNxN::identity();
/// ~~~ /// ~~~
/// ///
/// `lmath::gltypes` allows you to write: /// you can write:
/// ///
/// ~~~ /// ~~~
/// let v = dmat4::identity(); /// let v = dmat4::identity();