Chromium Code Reviews| Index: samples/o3d-webgl-samples/hellocube-wireframe.html |
| =================================================================== |
| --- samples/o3d-webgl-samples/hellocube-wireframe.html (revision 53363) |
| +++ samples/o3d-webgl-samples/hellocube-wireframe.html (working copy) |
| @@ -368,7 +368,7 @@ |
| <option value="TriangleList">TriangleList</option> |
| <option value="TriangleStrip">TriangleStrip</option> |
| <option value="TriangleFan">TriangleFan</option> |
| - </select> (PointList might be hard to see.) |
| + </select> |
| </p> |
| <p> |
| @@ -402,6 +402,8 @@ |
| // Multiply the vertex positions by the worldViewProjection matrix to |
| // transform them to screen space. |
| gl_Position = projection * view * world * position; |
| + // Make points larger, so they can been seen. |
| + gl_PointSize = 5.0; |
|
petersont
2010/07/27 21:49:09
You can do that?
|
| pos = position; |
| } |
| </textarea> |