diff --git a/img/apple-touch-icon-144x144-precomposed.png b/img/apple-touch-icon-144x144-precomposed.png deleted file mode 100644 index e3c478b..0000000 Binary files a/img/apple-touch-icon-144x144-precomposed.png and /dev/null differ diff --git a/img/authenticate/bg.jpg b/img/authenticate/bg.jpg deleted file mode 100644 index 69d0241..0000000 Binary files a/img/authenticate/bg.jpg and /dev/null differ diff --git a/img/bannerBg.png b/img/bannerBg.png deleted file mode 100644 index e1e36b4..0000000 Binary files a/img/bannerBg.png and /dev/null differ diff --git a/img/btnCross.png b/img/btnCross.png deleted file mode 100644 index ade2255..0000000 Binary files a/img/btnCross.png and /dev/null differ diff --git a/img/btnDrawGrid.png b/img/btnDrawGrid.png deleted file mode 100644 index 382573e..0000000 Binary files a/img/btnDrawGrid.png and /dev/null differ diff --git a/img/btnDrawPencil.png b/img/btnDrawPencil.png deleted file mode 100644 index f524883..0000000 Binary files a/img/btnDrawPencil.png and /dev/null differ diff --git a/img/btnDrawSmooth.png b/img/btnDrawSmooth.png deleted file mode 100644 index 6905f63..0000000 Binary files a/img/btnDrawSmooth.png and /dev/null differ diff --git a/img/btnExport.png b/img/btnExport.png deleted file mode 100644 index 1422edb..0000000 Binary files a/img/btnExport.png and /dev/null differ diff --git a/img/btnPlus.png b/img/btnPlus.png deleted file mode 100644 index 8225861..0000000 Binary files a/img/btnPlus.png and /dev/null differ diff --git a/img/cheatsheet.jpg b/img/cheatsheet.jpg deleted file mode 100644 index f900eab..0000000 Binary files a/img/cheatsheet.jpg and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_01.png b/img/contextmenu/colors/btnColor_01.png deleted file mode 100644 index f585eef..0000000 Binary files a/img/contextmenu/colors/btnColor_01.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_02.png b/img/contextmenu/colors/btnColor_02.png deleted file mode 100644 index 184bade..0000000 Binary files a/img/contextmenu/colors/btnColor_02.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_03.png b/img/contextmenu/colors/btnColor_03.png deleted file mode 100644 index a9b27a4..0000000 Binary files a/img/contextmenu/colors/btnColor_03.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_04.png b/img/contextmenu/colors/btnColor_04.png deleted file mode 100644 index 884d899..0000000 Binary files a/img/contextmenu/colors/btnColor_04.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_05.png b/img/contextmenu/colors/btnColor_05.png deleted file mode 100644 index b5d0751..0000000 Binary files a/img/contextmenu/colors/btnColor_05.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_06.png b/img/contextmenu/colors/btnColor_06.png deleted file mode 100644 index 4a475d3..0000000 Binary files a/img/contextmenu/colors/btnColor_06.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_07.png b/img/contextmenu/colors/btnColor_07.png deleted file mode 100644 index 158591b..0000000 Binary files a/img/contextmenu/colors/btnColor_07.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_08.png b/img/contextmenu/colors/btnColor_08.png deleted file mode 100644 index b8f3950..0000000 Binary files a/img/contextmenu/colors/btnColor_08.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_09.png b/img/contextmenu/colors/btnColor_09.png deleted file mode 100644 index d77f31b..0000000 Binary files a/img/contextmenu/colors/btnColor_09.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_10.png b/img/contextmenu/colors/btnColor_10.png deleted file mode 100644 index 8c784ff..0000000 Binary files a/img/contextmenu/colors/btnColor_10.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_11.png b/img/contextmenu/colors/btnColor_11.png deleted file mode 100644 index 353d1dc..0000000 Binary files a/img/contextmenu/colors/btnColor_11.png and /dev/null differ diff --git a/img/contextmenu/colors/btnColor_12.png b/img/contextmenu/colors/btnColor_12.png deleted file mode 100644 index 0873721..0000000 Binary files a/img/contextmenu/colors/btnColor_12.png and /dev/null differ diff --git a/img/corner/btnExport.png b/img/corner/btnExport.png deleted file mode 100644 index 8ae0166..0000000 Binary files a/img/corner/btnExport.png and /dev/null differ diff --git a/img/corner/btnHamburger.png b/img/corner/btnHamburger.png deleted file mode 100644 index 140380d..0000000 Binary files a/img/corner/btnHamburger.png and /dev/null differ diff --git a/img/dashboard/add_doodle.png b/img/dashboard/add_doodle.png deleted file mode 100644 index 7fa46d8..0000000 Binary files a/img/dashboard/add_doodle.png and /dev/null differ diff --git a/img/dashboard/logo.png b/img/dashboard/logo.png deleted file mode 100644 index 128b70b..0000000 Binary files a/img/dashboard/logo.png and /dev/null differ diff --git a/img/dashboard/menuopen.png b/img/dashboard/menuopen.png deleted file mode 100644 index 5c776e3..0000000 Binary files a/img/dashboard/menuopen.png and /dev/null differ diff --git a/img/design-files/btnColor.psd b/img/design-files/btnColor.psd deleted file mode 100644 index 2775e19..0000000 Binary files a/img/design-files/btnColor.psd and /dev/null differ diff --git a/img/export/btn3DHubs.png b/img/export/btn3DHubs.png deleted file mode 100644 index 7b4f8c8..0000000 Binary files a/img/export/btn3DHubs.png and /dev/null differ diff --git a/img/export/btnEmailSTL.png b/img/export/btnEmailSTL.png deleted file mode 100644 index a06854f..0000000 Binary files a/img/export/btnEmailSTL.png and /dev/null differ diff --git a/img/export/btnFacebook.png b/img/export/btnFacebook.png deleted file mode 100644 index f2fc115..0000000 Binary files a/img/export/btnFacebook.png and /dev/null differ diff --git a/img/export/btnFormide.png b/img/export/btnFormide.png deleted file mode 100644 index 678edeb..0000000 Binary files a/img/export/btnFormide.png and /dev/null differ diff --git a/img/export/btnMaterialise.png b/img/export/btnMaterialise.png deleted file mode 100644 index e3a664b..0000000 Binary files a/img/export/btnMaterialise.png and /dev/null differ diff --git a/img/export/btnMyMiniFactory.png b/img/export/btnMyMiniFactory.png deleted file mode 100644 index 55dce0e..0000000 Binary files a/img/export/btnMyMiniFactory.png and /dev/null differ diff --git a/img/export/btnPrintWiFi.png b/img/export/btnPrintWiFi.png deleted file mode 100644 index 07b0fa7..0000000 Binary files a/img/export/btnPrintWiFi.png and /dev/null differ diff --git a/img/export/btnSaveSTL.png b/img/export/btnSaveSTL.png deleted file mode 100644 index 9c5ab7e..0000000 Binary files a/img/export/btnSaveSTL.png and /dev/null differ diff --git a/img/export/btnShapeways.png b/img/export/btnShapeways.png deleted file mode 100644 index 2cb8a40..0000000 Binary files a/img/export/btnShapeways.png and /dev/null differ diff --git a/img/export/btnShare.png b/img/export/btnShare.png deleted file mode 100644 index a98722f..0000000 Binary files a/img/export/btnShare.png and /dev/null differ diff --git a/img/export/btnSketchFab.png b/img/export/btnSketchFab.png deleted file mode 100644 index 5d5675a..0000000 Binary files a/img/export/btnSketchFab.png and /dev/null differ diff --git a/img/export/btnThingiverse.png b/img/export/btnThingiverse.png deleted file mode 100644 index 58abec6..0000000 Binary files a/img/export/btnThingiverse.png and /dev/null differ diff --git a/img/export/btnTwitter.png b/img/export/btnTwitter.png deleted file mode 100644 index 5632ed9..0000000 Binary files a/img/export/btnTwitter.png and /dev/null differ diff --git a/img/export/btnYouMagine.png b/img/export/btnYouMagine.png deleted file mode 100644 index 128e584..0000000 Binary files a/img/export/btnYouMagine.png and /dev/null differ diff --git a/img/logo.png b/img/logo.png deleted file mode 100644 index 6a13769..0000000 Binary files a/img/logo.png and /dev/null differ diff --git a/img/mainmenu/btnTopExport.png b/img/mainmenu/btnTopExport.png deleted file mode 100644 index 3c29c65..0000000 Binary files a/img/mainmenu/btnTopExport.png and /dev/null differ diff --git a/img/mainmenu/btnTopNew.png b/img/mainmenu/btnTopNew.png deleted file mode 100644 index b386121..0000000 Binary files a/img/mainmenu/btnTopNew.png and /dev/null differ diff --git a/img/mainmenu/btnTopOpen.png b/img/mainmenu/btnTopOpen.png deleted file mode 100644 index a09fbec..0000000 Binary files a/img/mainmenu/btnTopOpen.png and /dev/null differ diff --git a/img/mainmenu/btnTopSave.png b/img/mainmenu/btnTopSave.png deleted file mode 100644 index e9a9864..0000000 Binary files a/img/mainmenu/btnTopSave.png and /dev/null differ diff --git a/img/mainmenu/btnTopSettings.png b/img/mainmenu/btnTopSettings.png deleted file mode 100644 index 82b8015..0000000 Binary files a/img/mainmenu/btnTopSettings.png and /dev/null differ diff --git a/img/mainmenu/btnTopUndo.png b/img/mainmenu/btnTopUndo.png deleted file mode 100644 index 83d3c10..0000000 Binary files a/img/mainmenu/btnTopUndo.png and /dev/null differ diff --git a/img/menu/chat.png b/img/menu/chat.png deleted file mode 100644 index 593861e..0000000 Binary files a/img/menu/chat.png and /dev/null differ diff --git a/img/menu/draw_a_doodle.png b/img/menu/draw_a_doodle.png deleted file mode 100644 index d9b4f5d..0000000 Binary files a/img/menu/draw_a_doodle.png and /dev/null differ diff --git a/img/menu/export.png b/img/menu/export.png deleted file mode 100644 index dac05eb..0000000 Binary files a/img/menu/export.png and /dev/null differ diff --git a/img/menu/feedback.png b/img/menu/feedback.png deleted file mode 100644 index f3fa1f9..0000000 Binary files a/img/menu/feedback.png and /dev/null differ diff --git a/img/menu/help.png b/img/menu/help.png deleted file mode 100644 index aa79433..0000000 Binary files a/img/menu/help.png and /dev/null differ diff --git a/img/menu/home.png b/img/menu/home.png deleted file mode 100644 index 19d9260..0000000 Binary files a/img/menu/home.png and /dev/null differ diff --git a/img/menu/import.png b/img/menu/import.png deleted file mode 100644 index c923962..0000000 Binary files a/img/menu/import.png and /dev/null differ diff --git a/img/menu/new.png b/img/menu/new.png deleted file mode 100644 index 227236f..0000000 Binary files a/img/menu/new.png and /dev/null differ diff --git a/img/menu/open.png b/img/menu/open.png deleted file mode 100644 index 3836859..0000000 Binary files a/img/menu/open.png and /dev/null differ diff --git a/img/menu/save.png b/img/menu/save.png deleted file mode 100644 index ea3b257..0000000 Binary files a/img/menu/save.png and /dev/null differ diff --git a/img/menu/settings.png b/img/menu/settings.png deleted file mode 100644 index ebe0d68..0000000 Binary files a/img/menu/settings.png and /dev/null differ diff --git a/img/menu/terms.png b/img/menu/terms.png deleted file mode 100644 index 250af78..0000000 Binary files a/img/menu/terms.png and /dev/null differ diff --git a/img/oauth/logo-google.png b/img/oauth/logo-google.png deleted file mode 100644 index 57cbf0e..0000000 Binary files a/img/oauth/logo-google.png and /dev/null differ diff --git a/img/payment/corner_free_plan.png b/img/payment/corner_free_plan.png deleted file mode 100644 index 9ab9881..0000000 Binary files a/img/payment/corner_free_plan.png and /dev/null differ diff --git a/img/payment/corner_full_plan.png b/img/payment/corner_full_plan.png deleted file mode 100644 index d20df1a..0000000 Binary files a/img/payment/corner_full_plan.png and /dev/null differ diff --git a/img/placeholder.png b/img/placeholder.png deleted file mode 100644 index 5e0bd2b..0000000 Binary files a/img/placeholder.png and /dev/null differ diff --git a/img/platform.png b/img/platform.png deleted file mode 100644 index b6e8079..0000000 Binary files a/img/platform.png and /dev/null differ diff --git a/img/trace.jpg b/img/trace.jpg deleted file mode 100644 index 36a7362..0000000 Binary files a/img/trace.jpg and /dev/null differ diff --git a/shaders/anaglyph_frag.glsl b/shaders/anaglyph_frag.glsl index 114e311..580c1a0 100644 --- a/shaders/anaglyph_frag.glsl +++ b/shaders/anaglyph_frag.glsl @@ -5,32 +5,25 @@ varying vec2 vUv; uniform mat3 colorMatrixLeft; uniform mat3 colorMatrixRight; -float lin( float c ) { - return c <= 0.04045 ? c * 0.0773993808 : - pow( c * 0.9478672986 + 0.0521327014, 2.4 ); +float lin(float c) { + return c <= 0.04045 ? c * 0.0773993808 : pow(c * 0.9478672986 + 0.0521327014, 2.4); } -vec4 lin( vec4 c ) { - return vec4( lin( c.r ), lin( c.g ), lin( c.b ), c.a ); +vec4 lin(vec4 c) { + return vec4(lin(c.r), lin(c.g), lin(c.b), c.a); } -float dev( float c ) { - return c <= 0.0031308 ? c * 12.92 : pow( c, 0.41666 ) * 1.055 - 0.055; +float dev(float c) { + return c <= 0.0031308 ? c * 12.92 : pow(c, 0.41666) * 1.055 - 0.055; } void main() { - vec2 uv = vUv; - vec4 colorL = lin( texture2D( mapLeft, uv ) ); - vec4 colorR = lin( texture2D( mapRight, uv ) ); + vec4 colorL = lin(texture2D(mapLeft, uv)); + vec4 colorR = lin(texture2D(mapRight, uv)); - vec3 color = clamp( - colorMatrixLeft * colorL.rgb + - colorMatrixRight * colorR.rgb, 0., 1. ); - - gl_FragColor = vec4( - dev( color.r ), dev( color.g ), dev( color.b ), - max( colorL.a, colorR.a ) ); + vec3 color = clamp(colorMatrixLeft * colorL.rgb + colorMatrixRight * colorR.rgb, 0., 1.); + gl_FragColor = vec4(dev(color.r), dev(color.g), dev(color.b), max(colorL.a, colorR.a)); } diff --git a/shaders/anaglyph_vert.glsl b/shaders/anaglyph_vert.glsl index 610d70b..953aedb 100644 --- a/shaders/anaglyph_vert.glsl +++ b/shaders/anaglyph_vert.glsl @@ -1,5 +1,6 @@ varying vec2 vUv; + void main() { - vUv = vec2( uv.x, uv.y ); - gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); + vUv = vec2(uv.x, uv.y); + gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); }