Commit Graph

14 Commits

Author SHA1 Message Date
Matthew Einhorn 0b6b8930e6 Switch to flake8 and fix PEP8 issues. 2020-01-03 17:17:09 -05:00
Alberto Galera 83fb4b197e
use delta 2017-11-16 00:42:03 +01:00
Susmit 8c180097cb Pep8 fixes for example directory. (#4814)
* fixed pep8 errors

* pep8 fixes forexamples directory

* some more pep8 fixes
2016-12-17 11:41:12 +02:00
Meet Udeshi efac1d7ac1 Remove pep8 E265 from all files
block comment should start with '# '
sed rocks!
2016-12-14 21:18:55 +05:30
Rolf Schroeder 1f83527def Fix typo 2016-05-23 12:45:41 +02:00
Charles Merriam f16fe11ac9 examples/ - Update docstrings
Update or create docstrings from many of the examples.  This is part of
the gallery project, as the new docstrings will be the website visible
documentation for the example.   Some changes are to use the main
phrase of ‘the file xx.py’ to include related files on the gallery page.

These are all documentation changes only.
2015-02-11 20:00:30 -08:00
Charles Merriam f412c31178 Change examples/3DRendering/main.py docstring
Trying to get docstrings in shape for automatic documentation generation.
2015-02-02 12:35:53 -08:00
Charles Merriam 02c30a4e9f Fix examples/ PEP8 errors. Mostly white space.
This fixes a large number of white space errors in the examples/
directory.
When I upgraded Makefile to check the 'make style' on the examples
directory,
the output was hundreds of lines long.   Currently, the output is
managable
and consists solely of "lines too long", as kv lines cannot be split.
This
commit touches an obscene number of files in trivial ways.
2015-02-01 17:09:20 -08:00
Charles Merriam 3f008494c3 Add description to examples/3Drendering/main.py 2015-01-30 08:43:57 -08:00
Alexander Taylor 38b299b17a Python3 and pep8 fixes for 3d rendering example 2014-03-20 21:40:14 +00:00
Thomas-Karl Pietrowski ab06925f74 Making it compatible with py27 and py33 2013-06-30 20:39:30 +02:00
Thomas Hansen 83dd0656ef fix 3Drendering example glsl code. was missing precision definition 2013-03-16 12:16:07 -07:00
Thomas Hansen e4565fe642 - load texture coordinates and normals correctly even if missing (default vectors with 0.0)
- added calculate_normals to MeshData class for calculating surface normals of mesh faces (not sure it works correctly)
2012-12-19 14:01:08 -06:00
Thomas Hansen 73e45e5b5b add simple 3D rendering example 2012-12-18 17:11:29 -06:00