summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorluchen@google.com <luchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 22:16:59 +0000
committerluchen@google.com <luchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 22:16:59 +0000
commit0aa5831f558db13af78725f99d11ebce12f27e91 (patch)
treeb9d4c189081d88a78efc581d9998761bd9c1a501 /o3d
parent1f84ed4f9d0cc61b4d77cbb1a0101d76a569b019 (diff)
downloadchromium_src-0aa5831f558db13af78725f99d11ebce12f27e91.zip
chromium_src-0aa5831f558db13af78725f99d11ebce12f27e91.tar.gz
chromium_src-0aa5831f558db13af78725f99d11ebce12f27e91.tar.bz2
o3d-webgl: Increasing the point size in shader to make points easier to see.
Review URL: http://codereview.chromium.org/3059005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/o3d-webgl-samples/hellocube-wireframe.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/o3d/samples/o3d-webgl-samples/hellocube-wireframe.html b/o3d/samples/o3d-webgl-samples/hellocube-wireframe.html
index 48040b0..a522155 100644
--- a/o3d/samples/o3d-webgl-samples/hellocube-wireframe.html
+++ b/o3d/samples/o3d-webgl-samples/hellocube-wireframe.html
@@ -368,7 +368,7 @@ This example shows how to display a cube in O3D using different primitive types.
<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 @@ This example shows how to display a cube in O3D using different primitive types.
// 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;
pos = position;
}
</textarea>