Commits

Jonathan Hartley  committed 521fb5b

fix documentation

  • Participants
  • Parent commits 67e2dad

Comments (0)

Files changed (2)

File gloopy/geom/vector.py

         '''
         Return a new vector, the cross product.
         a x b = (a2b3 - a3b2, a3b1 - a1b3, a1b2 - a2b1)
-        This will be at right angles to both self and other, with a length:
+        This will be at right angles to both self and other, with a length::
+
             len(self) * len(other) * sin(angle_between_them)
+
         http://en.wikipedia.org/wiki/Cross_product
         '''
         return Vector(

File gloopy/view/glyph.py

         :type indices: list of integers
 
         The `vertex` list should be structured as follows (only the first
-        vertex is shown, in reality, more would follow it::
+        vertex is shown)::
 
             vertices=[
-                (
-                    pos.x, pos.y, pos.z,
-                    color.r, color.g, color.b, color.a,
-                    normal.x, normal.y, normal.z,
-                )
+                pos.x, pos.y, pos.z,
+                color.r, color.g, color.b, color.a,
+                normal.x, normal.y, normal.z,
                 ...
             ]
     '''