wasabia / three_dart

three.js rewrite by Dart, Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.
MIT License
444 stars 77 forks source link

Example doesn't run for IOS #114

Open blexo opened 1 year ago

blexo commented 1 year ago

Curious if this project is dead? When I try to run the example, I get a lot of issues like: Error: Member not found: 'PI' ... which looks like it's using Math.PI instead of Math.pi, etc.

mahidul-islam commented 1 year ago

getting rid of three_dart_jsm and dependent pages will run some example. but some won't run even than. was able to run below example with some issues on mac, web and iOS.

  "webgl_camera",
  "webgl_materials_browser",
  "webgl_instancing_performance",
  "webgl_shadowmap_viewer",
  "webgl_loader_texture_basis",
  "webgl_clipping_advanced",
  "webgl_clipping_intersection",
  "webgl_clipping_stencil",
  "webgl_clipping",
  "webgl_geometries",
  "webgl_materials",
  "webgl_geometry_colors",
  "webgl_loader_svg",
  "multi_views"

you can check on this repo https://github.com/mahidul-islam/three_working

JustFrederik commented 1 year ago

PI was renamed to pi. The example is outdated. They were last updated have a year a go