aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-05 19:26:00 -0700
committeralon@honor <none@none>2010-10-05 19:26:00 -0700
commita81e16221f402f160b7d909497d36da7e29e1df8 (patch)
tree0ec744cc4ab3cb3c709edb76486647cea408f5fe /demos
parent01ae695b4db1b8d01c291871384be5a8df44499b (diff)
version 0.3
Diffstat (limited to 'demos')
-rw-r--r--demos/raytrace.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/raytrace.html b/demos/raytrace.html
index 74d701f0..fcfd56e1 100644
--- a/demos/raytrace.html
+++ b/demos/raytrace.html
@@ -4,8 +4,8 @@
Emscripten: Raytracing
</title>
<script src="raytrace.js"></script>
- <script>
- // print function which the cubescript engine will call
+ <script type="text/javascript">
+ // print function which the runtime will call
function print(text) {
document.getElementById('output').innerHTML = text;
}
@@ -57,6 +57,7 @@
<hr>
Simple raytracing demo. The <a href="http://ompf.org/ray/sphereflake/">original C++ source</a> was
automatically converted to JavaScript using <a href="http://emscripten.org">Emscripten</a>.
+ <b>Note</b>: This was done with Emscripten 0.3, which is designed for correctness, not speed!
</body>
</html>