cleanup for publication to pub.dev

This commit is contained in:
Nick Fisher
2024-06-16 14:24:06 +08:00
parent 716da54855
commit 19c29adb97
5 changed files with 2 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
native/web/build/
native/web/lib/**/*
pubspec.lock
test/output/*

View File

@@ -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';

View File

@@ -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,

View File

@@ -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(

View File

@@ -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>{};