633 Commits

Author SHA1 Message Date
Tom Finegan
7c0bdaaa73 Set os to linux. 2017-09-06 11:36:17 -07:00
Tom Finegan
4c013da418 Enable ccache 2017-09-06 10:24:39 -07:00
Tom Finegan
61fcd39545 Add basic Travis-CI support.
- Installs gcc/g++ 6, cmake, and ccache.
- Builds and runs draco_tests.
2017-09-06 09:30:57 -07:00
FanZhang
b4211303fa Merge pull request #187 from google/increase_sub_id_by_1
Increase sub id by 1
2017-08-23 12:23:57 -07:00
Fan Zhang
b4421050dd increase sub id by 1 2017-08-23 12:22:32 -07:00
FanZhang
b8f8aea97e Merge pull request #186 from google/fix_sub_obj_bug
Fix sub object id bug
2017-08-23 11:54:34 -07:00
Fan Zhang
087c1c34c3 Fix sub object id are the same bug 2017-08-23 11:52:01 -07:00
FanZhang
cd70826afe Merge pull request #179 from sjfricke/master
npm: fixed npm example
2017-08-22 12:44:35 -07:00
Nicholas Yue
dcf5cd67c4 Added handling for all enum in draco::DataType (#182)
* Added handling for all enum in draco::DataType

Added support for 64bit integer, 64bit float and boolean in
ConvertValue
Reordered the case label to match those in the enum
for easier maintenance in the long run

* Change tab to space characters

Inline with coding convention in project Draco
2017-08-22 09:45:41 -07:00
sjfricke
10586a65bb npm example Merge commit fix 2017-08-22 01:47:59 -07:00
FrankGalligan
92433ca250 Merge pull request #184 from google/update_snapshot
Update Draco snapshot.
1.0.1
2017-08-21 16:12:17 -07:00
Frank Galligan
c61ddb67f3 Update Draco snapshot.
-Increase version to 1.0.1
-Update Javascript decode timing example
-Fix async creation of DracoDecoderModule
-fixes wasm parallel decoding
-Introduce base class for geometric normal predictor
-Added integer attribute interface to JavaScript decoder
-Move loading Draco decoder into three.js Draco loader
-Add compiler launcher support to CMake build
-Add sanitizer support via CMake build
-Check we are not reading past the end of the attribute buffer
2017-08-21 16:04:57 -07:00
sjfricke
d076c0a052 Fixed README links
Fixed Contributing link, web_encoder link, and added clickable paths
2017-08-11 00:52:16 -07:00
sjfricke
3cbd970d93 npm: fixed npm example
allows draco3d to be called from same directory or npm package
2017-08-11 00:29:05 -07:00
tomfinegan
99b68b23dd Merge pull request #177 from google/add_dracoder_wrapper
Add decoder_webidl_wrapper sources.
2017-08-08 12:53:09 -07:00
Frank Galligan
b267d04c49 Add decoder_webidl_wrapper sources.
This fixes #176
2017-08-08 12:44:35 -07:00
tomfinegan
c8b6219ff9 Merge pull request #170 from nyue/master
Clean up superfluous directories draco/src in include
2017-08-07 12:17:04 -07:00
tomfinegan
29f50ba31c Update CMakeLists.txt 2017-08-07 12:16:04 -07:00
FanZhang
5aaf6d6512 Merge pull request #175 from google/fix_test
Add missing test files
2017-08-07 10:26:48 -07:00
Fan Zhang
97c516ad4f Add missing test files 2017-08-07 10:21:01 -07:00
FrankGalligan
2049e1a089 Merge pull request #173 from pps83/master
fix for #108 and workaround to avoid crash in #171
2017-08-07 10:05:40 -07:00
Pavel P
6a494a8a30 Do not dereference null attribute pointer
- avoids crash described in https://github.com/google/draco/issues/171
2017-08-06 22:37:10 -07:00
Pavel P
64c045bdae Fix handling short filenames (less than 4 characters)
- fixes https://github.com/google/draco/issues/108
2017-08-06 22:34:40 -07:00
FrankGalligan
e2de4f8f43 Merge pull request #172 from google/change_cmake_hint
Change Cmake hint so building will work
2017-08-06 13:30:10 -07:00
Frank Galligan
03e9fd2096 Change Cmake hint so building will work
This should help #168
2017-08-06 13:27:04 -07:00
Nicholas Yue
ad7b8c67cd Clean up superfluous directories draco/src in include
The way header files are glob resulted in two additional directories
being nested in include.
2017-08-05 14:19:37 -07:00
Frank Galligan
da71b48359 Add more CMake helper scripts plus more CMake updates.
- Disallow in-tree CMake runs.
- Adds back CONTRIBUTING.md.

This fixes #130 and hopefully addresses #163.
2017-08-03 16:13:08 -07:00
Lou Quillio
5c8b21d610 Merge pull request #165 from louquillio/syntax-table-heading
Add a "Type" heading on second column of syntax tables.
2017-08-03 12:39:05 -07:00
Lou Quillio
f0b0d1f6cf Add a "Type" heading on second column of syntax tables.
CSS generated content, using `:before`.
2017-08-03 12:37:10 -07:00
Lou Quillio
df02f874ec Merge pull request #164 from louquillio/normalize-monospace-rendering
Fix cross-browser monospace font rendering (Firefox CSS).
2017-08-03 12:07:15 -07:00
Lou Quillio
55a704b61b Fix cross-browser monospace font rendering (Firefox CSS).
Syntax tables rely on precise monospace font rendering
with regard to font-size and especially line-height.
This applies more specific selectors, in an attempt to
have Firefox render identically to Chrome.
2017-08-03 12:04:54 -07:00
Ondrej Stava
d0f313d292 Silence unknown link language warnings.
Fixes https://github.com/google/draco/issues/162
2017-08-02 15:17:59 -07:00
Ondrej Stava
10af829784 Updated Javascript and Wasm decoders with the correct
isVersionSupported() function.
2017-08-02 14:16:49 -07:00
Ondrej Stava
90577b3f08 Added missing CMake file. 2017-08-02 12:24:29 -07:00
Don McCurdy
f2f4efbc20 Simplify Node.js usage example. (#157)
* Fix 'node' global name in node.js example.

* Include GitHub URL with npm package.json.

* Simplify Node.js usage example.

* Correct attribute stride.

* Correct numVertexCoord -> numItems.

* Fix typo on attr constant.

* Simplify loop iteration.
2017-08-01 17:25:55 -07:00
Ondrej Stava
7c8cd74271 Fixed Visual Studio build + updated makefiles 2017-08-01 11:37:58 -07:00
Lou Quillio
4503028fb7 Merge pull request #159 from louquillio/typo
Typo
2017-07-31 22:20:51 -07:00
Lou Quillio
00aad2e35c Typo 2017-07-31 22:20:18 -07:00
Lou Quillio
0c3f4899f8 Merge pull request #158 from louquillio/link-spec-to-spec-readme
Provide a (temporary) link from the spec draft to its README.
2017-07-31 22:09:52 -07:00
Lou Quillio
e3acc2ab8e Provide a (temporary) link from the spec draft to its README.
Also fix a typo.
2017-07-31 22:08:10 -07:00
Lou Quillio
aad361e756 Merge pull request #156 from louquillio/clear-more-text-artifacts
Remove a stray heading.
2017-07-31 15:43:46 -07:00
Lou Quillio
007247f7d4 Remove a stray heading.
MeshPredictionSchemeParallelogramShared
2017-07-31 15:42:38 -07:00
Lou Quillio
8b3a163a64 Merge pull request #155 from louquillio/toc-button-size
Shrink TOC button to extra-small (xs) size.
2017-07-31 15:20:43 -07:00
Lou Quillio
3a38594c07 Shrink TOC button to extra-small (xs) size. 2017-07-31 15:19:30 -07:00
Lou Quillio
7ad230baae Merge pull request #154 from louquillio/remove-unused-css
Remove unused CSS.
2017-07-31 14:35:53 -07:00
Lou Quillio
00c15b27ec Remove unused CSS.
Remove CSS artifacts from spec stylesheet. Tweak a table style.
2017-07-31 14:33:13 -07:00
Lou Quillio
d029796e65 Merge pull request #153 from louquillio/collapsible-toc
Make spec table of contents collapsible.
2017-07-31 14:20:17 -07:00
Lou Quillio
1a4bc8d37a Make spec table of contents collapsible.
Spec's TOC is very long. This adds a button to toggle collapse-reveal
of TOC. Initially collapsed.
2017-07-31 14:17:27 -07:00
Lou Quillio
6eb4920e64 Merge pull request #152 from louquillio/bootstrap-spec-template
Adapt spec-related pages to Bootstrap.
2017-07-31 13:57:16 -07:00
Lou Quillio
b3378f4453 Adapt spec-related pages to Bootstrap.
* Create template for spec pages
  * Adapt syntax-table styles to Bootstrap
  * Reposition type/size annotations at col 86 (and update README.md)
  * Let Bootstrap style breadcrumb trails
  * Unrelated: abstract footer to an _include
2017-07-31 13:52:48 -07:00