summaryrefslogtreecommitdiff
path: root/src/Robot.java
AgeCommit message (Collapse)AuthorFilesLines
2014-01-17Trailing whitespace killerPeter Wu1-8/+8
2014-01-16Remove duplicate functionalityPeter Wu1-7/+0
2014-01-16Camera:Frank v/d Haterd1-0/+7
FPS mode now follows last robot in race (see assignment). New getLastRobot method and getter in Robot.java
2014-01-15Initial working implementation of SmarterWalkAnimationPeter Wu1-5/+8
2014-01-15Terrain class revisited:Frank v/d Haterd1-3/+3
Normals fixed ! 1D texture fixed! Tree drawing functionallity added Code cleanup New class tree added describing tree Small tweek in Robot.java +3FPS (sphere segments decreased not noticeble)
2014-01-10Walk animation WIPPeter Wu1-7/+25
DumbWalkAnimator implementation is for testing purposes. Its constants are hard-coded.
2014-01-09Fix confusion of meters, time pos and GSTPeter Wu1-7/+33
Robots get a speed of 19 km/s (average human speed).
2014-01-09Some commentsFrank v/d Haterd1-1/+4
2014-01-09Allow textures to be disabledPeter Wu1-4/+8
Minor other change for consistency, even though 180 + 180 is a full rotation, use 180 - 180 to emphasize "revert".
2014-01-09Implement randomized speedPeter Wu1-0/+1
2014-01-09Fix reset buttonPeter Wu1-0/+7
2014-01-09Head is now textured too. Frank v/d Haterd1-2/+17
2014-01-08Robot textures and trackFrank v/d Haterd1-11/+48
2014-01-08Replace glut by glFrank v/d Haterd1-1/+83
2014-01-08Make RobotRace instance available to RobotPeter Wu1-1/+7
2013-12-20Center on fastest robot instead of the middle of lanePeter Wu1-1/+22
Refactor Robots initialization to remove redundancy and add lane number. getPointForLane now returns the center of a lane, change the callers to reflect that.
2013-12-20WIP: robot movements, adapt Helicopter view to new codePeter Wu1-1/+34
Misc fixes: fix up vector when changing to default view, fix wrong scale for getPointForLane, fix comment typo in Robot.thisFunctionDoesAbsolutelyNothing. New bugs: robot does not look forward; to be done: do not use static speed.
2013-12-02Improve commentsPeter Wu1-6/+31
Merge two subsequent translations in draw(), add a lecture. Replace gl.glColor3f by a call that explicitly names the use of black in drawScene().
2013-12-02Fix material colors, increase precision for spheresPeter Wu1-6/+6
2013-11-29drawRobots method in RobotRace class added. 3 out of 4 materials modified to ↵Frank v/d Haterd1-2/+2
reflect assignment. minor changes
2013-11-29Robot: fix flying stick figure and length calculationPeter Wu1-3/+8
2013-11-29Refactor: move Robot outside RobotRace classPeter Wu1-0/+285
setColor is unused now as it is moved to BaseContext.