oimo_physics 0.0.1
oimo_physics: ^0.0.1 copied to clipboard
A Flutter plugin designed for three_dart and three_dart_jsm to allow users to add a simple physics engine to their 3D project.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:oimo_physics_example/game.dart';
import 'package:oimo_physics_example/test_basic.dart';
import 'package:oimo_physics_example/test_collision.dart';
import 'package:oimo_physics_example/test_compound.dart';
import 'package:oimo_physics_example/test_compound2.dart';
import 'package:oimo_physics_example/test_moving.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const TestCompound(),
);
}
}