Permalink
Browse files

update stuff

  • Loading branch information...
greggman committed May 1, 2012
1 parent f9570c6 commit f040e4bd3cbbf7cf09c95154f719fe8e460f795c
Showing with 37 additions and 19 deletions.
  1. +36 −18 lessons/resources/axis-diagram.html
  2. +1 −1 lessons/webgl-3d-basics.md
@@ -85,6 +85,8 @@
gborder: 10px solid gray;
font-size: 8px;
+ display: table-cell;
+ vertical-align: middle;
}
.tiltX, .tiltY, .tiltZ {
@@ -219,6 +221,22 @@
.elem1, .elem2, .elem3, .elem4, .elem5, .elem6 {
height: 100%;
+ font-size: 40px;
+ font-family: Arial Black, Helvetica, sans-serif;
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+ -webkit-box-pack: center;
+ -webkit-box-align: center;
+
+ display: -moz-box;
+ -moz-box-orient: horizontal;
+ -moz-box-pack: center;
+ -moz-box-align: center;
+
+ display: box;
+ box-orient: horizontal;
+ box-pack: center;
+ box-align: center;
}
table {
@@ -241,22 +259,22 @@
</div>
<div class="tiltX">
<div class="plane">
- <div class="elem1"></div>
+ <div class="elem1">F</div>
</div>
<div class="plane">
- <div class="elem2"></div>
+ <div class="elem2">F</div>
</div>
<div class="plane">
- <div class="elem3"></div>
+ <div class="elem3">F</div>
</div>
<div class="plane">
- <div class="elem4"></div>
+ <div class="elem4">F</div>
</div>
<div class="plane">
- <div class="elem5"></div>
+ <div class="elem5">F</div>
</div>
<div class="plane">
- <div class="elem6"></div>
+ <div class="elem6">F</div>
</div>
</div>
</div>
@@ -272,22 +290,22 @@
</div>
<div class="tiltY">
<div class="plane">
- <div class="elem1"></div>
+ <div class="elem1">F</div>
</div>
<div class="plane">
- <div class="elem2"></div>
+ <div class="elem2">F</div>
</div>
<div class="plane">
- <div class="elem3"></div>
+ <div class="elem3">F</div>
</div>
<div class="plane">
- <div class="elem4"></div>
+ <div class="elem4">F</div>
</div>
<div class="plane">
- <div class="elem5"></div>
+ <div class="elem5">F</div>
</div>
<div class="plane">
- <div class="elem6"></div>
+ <div class="elem6">F</div>
</div>
</div>
</div>
@@ -303,22 +321,22 @@
</div>
<div class="tiltZ">
<div class="plane">
- <div class="elem1"></div>
+ <div class="elem1">F</div>
</div>
<div class="plane">
- <div class="elem2"></div>
+ <div class="elem2">F</div>
</div>
<div class="plane">
- <div class="elem3"></div>
+ <div class="elem3">F</div>
</div>
<div class="plane">
- <div class="elem4"></div>
+ <div class="elem4">F</div>
</div>
<div class="plane">
- <div class="elem5"></div>
+ <div class="elem5">F</div>
</div>
<div class="plane">
- <div class="elem6"></div>
+ <div class="elem6">F</div>
</div>
</div>
</div>
@@ -470,7 +470,7 @@ which is 3D!
In the next post I'll go over how to make it have perspective.
<div class="webgl_bottombar">
-<h3>Why is the attribute vec4 but glVertexAttribPointer size 3</h3>
+<h3>Why is the attribute vec4 but gl.vertexAttribPointer size 3</h3>
<p>
For those of you who are detail oriented you might have noticed we defined our 2 attributes as
</p>

0 comments on commit f040e4b

Please sign in to comment.