GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Static instance calls

completed by: Samuel Kim

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

When building libsoy you see many warnings like this:

libsoy/src/scenes/ warning: Access to static member `soy.scenes.Scene.perspective' with an instance reference

This error is caused by calls to static methods, in this case:

def static perspective (fovy : GLfloat, aspect : GLfloat, zNear : GLfloat, zFar : GLfloat)

Thankfully these are very easy to fix, as this one recently was in this commit. Go through each of these files and correct each of these problems:

These line numbers may change due to other work being done on the repository and may not be a complete, current list. All valac warnings for access to a static member with an instance reference need to be fixed.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.