projects
/
yuu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust HTML and shrink canvas.
[yuu.git]
/
src
/
main.js
diff --git
a/src/main.js
b/src/main.js
index
15e4bfa
..
801a5f2
100644
(file)
--- a/
src/main.js
+++ b/
src/main.js
@@
-49,7
+49,7
@@
var FollowScene = yT(yuu.Scene, {
inputs: {
resize: function () {
inputs: {
resize: function () {
- var base = new yuu.AABB(-
1.5, -1.5, 1.5, 1
.5);
+ var base = new yuu.AABB(-
0.5, -0.5, 0.5, 0
.5);
var vp = base.matchAspectRatio(yuu.viewport);
this.layer0.resize(vp.x0, vp.y0, vp.w, vp.h);
},
var vp = base.matchAspectRatio(yuu.viewport);
this.layer0.resize(vp.x0, vp.y0, vp.w, vp.h);
},