repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the new layout code
[SugarCubes.git]
/
TestPatterns.pde
diff --git
a/TestPatterns.pde
b/TestPatterns.pde
index 87d9ee2aab1e6142c9d36aece58b96d100724767..d7d56254ddaa8897390ad16ec88b0d350f139ddd 100644
(file)
--- a/
TestPatterns.pde
+++ b/
TestPatterns.pde
@@
-112,7
+112,7
@@
class TestProjectionPattern extends SCPattern {
projection.reset(model)
// Translate so the center of the car is the origin, offset by yPos
projection.reset(model)
// Translate so the center of the car is the origin, offset by yPos
- .translateCenter(0, yPos.getValuef(), 0)
+ .translateCenter(
model,
0, yPos.getValuef(), 0)
// Rotate around the origin (now the center of the car) about an X-vector
.rotate(angle.getValuef(), 1, 0, 0)
// Rotate around the origin (now the center of the car) about an X-vector
.rotate(angle.getValuef(), 1, 0, 0)