cleanup for publication to pub.dev
This commit is contained in:
1
thermion_dart/.gitignore
vendored
1
thermion_dart/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
native/web/build/
|
||||
native/web/lib/**/*
|
||||
pubspec.lock
|
||||
test/output/*
|
||||
@@ -1,6 +1,5 @@
|
||||
library filament_dart;
|
||||
|
||||
export 'thermion_dart/entities/thermion_entity.dart';
|
||||
export 'thermion_dart/thermion_viewer.dart';
|
||||
export 'thermion_dart/thermion_viewer_ffi.dart';
|
||||
export 'thermion_dart/entities/entity_transform_controller.dart';
|
||||
|
||||
@@ -6,11 +6,7 @@ import 'dart:typed_data';
|
||||
import 'package:web/web.dart';
|
||||
import 'package:animation_tools_dart/animation_tools_dart.dart';
|
||||
import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
|
||||
import 'package:thermion_dart/thermion_dart/compatibility/web/interop/shims/thermion_dart_api_js_shim.dart';
|
||||
|
||||
import 'package:thermion_dart/thermion_dart/scene.dart';
|
||||
import 'package:vector_math/vector_math_64.dart';
|
||||
import 'shims/thermion_viewer_js_shim.dart';
|
||||
|
||||
extension type _EmscriptenModule(JSObject _) implements JSObject {
|
||||
external JSAny? ccall(String name, String returnType,
|
||||
|
||||
@@ -1608,7 +1608,7 @@ class ThermionViewerFFI extends ThermionViewer {
|
||||
}
|
||||
|
||||
for (int i = 0; i < indices.length; i++) {
|
||||
indicesPtr.elementAt(i).value = indices[i];
|
||||
(indicesPtr + i).value = indices[i];
|
||||
}
|
||||
|
||||
var entity = await withIntCallback((callback) => create_geometry_ffi(
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import 'dart:ffi';
|
||||
import 'dart:io';
|
||||
import '../compatibility/compatibility.dart';
|
||||
import 'package:ffi/ffi.dart' hide Utf8Pointer;
|
||||
|
||||
class DartResourceLoader {
|
||||
static final _assets = <int, Pointer>{};
|
||||
|
||||
Reference in New Issue
Block a user