Overview
Comment: | starting basic work on wireframe_model.js wrote some test cases in seperate page |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e9599cdacc73364bfca699076b4884b2 |
User & Date: | Derek on 2013-01-03 20:26:41.657 |
Other Links: | manifest | tags |
Context
2013-01-05
| ||
03:08 | got the draw function working. Leaf check-in: 4ceaad09ba user: Derek tags: trunk | |
2013-01-03
| ||
20:26 | starting basic work on wireframe_model.js wrote some test cases in seperate page check-in: e9599cdacc user: Derek tags: trunk | |
2013-01-02
| ||
17:22 | started moving around code in files to factor stuff. check-in: 1514d83c29 user: Derek tags: trunk | |
Changes
Added test_wireframe_model.html version [d11af1c4b7].
Modified wireframe_model.js
from [0b9640f7fc]
to [ba994e1850].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | + + + + + + + + + - + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | // requires matrix_vector_lib.js // TODO we could make some libraryless way of checking dependencies and versions. // global namespace object var WireframeModel; (function(){ // A wireframe model and all the controls needed to move the camera and draw. // despite the name, it may also include polygon surfaces. function __WireframeModel(){ var WFMObj = this; |
︙ | |||
335 336 337 338 339 340 341 | 410 411 412 413 414 415 416 417 418 | - + - - | ctx.rect(minx, miny, maxx - minx, maxy - miny); ctx.stroke(); }} } ctx.fillStyle = "rgb(0,0,0)"; writeMsg(canvas, msg); } |