Commit Graph

176 Commits

Author SHA1 Message Date
SeanOMik 1ab79fae83
Make fields and methods pub 2023-12-21 23:33:54 -05:00
SeanOMik 68a2868478
Use Any for Resources instead of pointers, utility stuff for DynamicType 2023-12-21 23:33:53 -05:00
SeanOMik 8c8e7dfd7d
Implement inserting components into entities, ViewOne 2023-12-21 23:33:52 -05:00
SeanOMik da206b4824
Rename World::view to World::view_iter, some code cleanup 2023-12-21 23:33:51 -05:00
SeanOMik a68b0a7fb4
Simple dynamic views 2023-12-21 23:33:50 -05:00
SeanOMik a1ca2789ce
Dynamically typed bundles and archetypes 2023-12-21 23:33:49 -05:00
SeanOMik e867aaeadb
Groundwork for dynamic types in archetypes 2023-12-21 23:33:48 -05:00
SeanOMik 808cb77040
Implement multiple argument fn systems 2023-12-21 23:33:47 -05:00
SeanOMik ddc6a3dbf2
Add ArgFetcher for resources 2023-12-21 23:33:46 -05:00
SeanOMik 5f5f875783
Rewrite FnSystem stuff, add World argument fetcher 2023-12-21 23:33:45 -05:00
SeanOMik 27b0b87bd7
Finish GraphExecutor `execution` test 2023-12-21 23:33:44 -05:00
SeanOMik c3c1e81913
Create QueryResourceMut 2023-12-21 23:33:43 -05:00
SeanOMik 068eeecd4c
Create graph system executor 2023-12-21 23:33:42 -05:00
SeanOMik 9c6c32199d
Create simple function systems 2023-12-21 23:33:41 -05:00
SeanOMik 7f17a97ef7
Return Ref and RefMut from the borrow queries to enforce borrow checks even more 2023-12-21 23:33:40 -05:00
SeanOMik 6fedb270b9
Convert package to a lib, get resources from views 2023-12-21 23:33:39 -05:00
SeanOMik 08a458eb9c
Implement simple resources 2023-12-21 23:33:38 -05:00
SeanOMik 7d94cf052f
Simple ECS resources 2023-12-21 23:33:37 -05:00
SeanOMik e8e2bc0c24
Enforce single mutable borrows of component columns 2023-12-21 23:33:36 -05:00
SeanOMik 4c0b517127
Implement despawning entities 2023-12-21 23:33:36 -05:00
SeanOMik 5fafddb479
Add README.md 2023-12-21 23:33:35 -05:00
SeanOMik 2c718231ed
Implement query for tuples of query types 2023-12-21 23:33:34 -05:00
SeanOMik 2e53156b0d
Implement query borrow and borrow mut for all &T and &mut T 2023-12-21 23:33:33 -05:00
SeanOMik 92e284e625
Create queries and views 2023-12-21 23:33:32 -05:00
SeanOMik f62f21e69f
simple queries (which will be completely rewritten 2023-12-21 23:33:31 -05:00
SeanOMik cde7d140ea
early version of ecs working 2023-12-21 23:33:18 -05:00
SeanOMik ad35015478
Fix some errors caused by rebasing with origin 2023-12-21 17:40:16 -05:00
SeanOMik 66ec18eade
Add dir for luberyard-bistro example scene
This scene is massive when exported to gltf (.glb), about 1.5GBs. I need to write an fbx loader
2023-12-21 17:35:38 -05:00
SeanOMik 104649d574
Implement spot lights and directional lights 2023-12-21 17:35:37 -05:00
SeanOMik e412e589d1
Prototype implementation of specular maps 2023-12-21 17:35:30 -05:00
SeanOMik a0e6a16f03
Remove debug message 2023-12-21 17:31:05 -05:00
SeanOMik 039e99281a
Fix issues with the normal matrix 2023-12-21 17:31:04 -05:00
SeanOMik 6826d43c8b
Switch to desktop
ci/woodpecker/push/build Pipeline was successful Details
2023-11-15 19:47:22 -05:00
SeanOMik b2bbbbbfad
Switch computers
ci/woodpecker/push/build Pipeline failed Details
2023-11-14 23:04:32 -05:00
SeanOMik e23d4dc731
Fix a possible bug
ci/woodpecker/push/build Pipeline was successful Details
2023-11-12 15:07:52 -05:00
SeanOMik 65467c5032
Add normal matrix for lighting, fix render multiple entities that use same model 2023-11-12 14:56:59 -05:00
SeanOMik a288c9b26c
Merge branch 'feature/simple-lighting' into 'main'
ci/woodpecker/push/build Pipeline was successful Details
2023-11-11 09:08:13 -05:00
SeanOMik da1cac1bff
Implement removing a light from the scene
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 18:10:00 -05:00
SeanOMik aa79ace401
Get multiple light sources working
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 17:52:11 -05:00
SeanOMik 6510d5a7b9
Start support for multiple point light casters
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 14:00:52 -05:00
SeanOMik d26e1ccfb4
Create a PointLight component for light position
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 12:28:17 -05:00
SeanOMik e95a45fd53
Implement a single point light with blinn-phong lighting 2023-11-10 09:14:18 -05:00
SeanOMik 988fd6bf42
Merge branch 'feature/input-actions' into 'main'
ci/woodpecker/push/build Pipeline was successful Details
2023-11-08 20:53:04 -05:00
SeanOMik 8d6e675c82
Implement a decent first pass of the input action system
ci/woodpecker/push/build Pipeline was successful Details
This still needs some work, mostly just names of things and finding a better way to add the InputActionPLugin and ActionHandler
2023-11-05 22:50:57 -05:00
SeanOMik 75c0377d9c
Create structs for the input actions
ci/woodpecker/push/build Pipeline was successful Details
2023-11-04 11:34:27 -04:00
SeanOMik 76f81d6b02
Create an input module to cleanup code 2023-11-03 21:07:02 -04:00
SeanOMik 73160172ee
Merge branch 'feature/fixrate-interpolate'
ci/woodpecker/push/build Pipeline was successful Details
2023-11-03 19:50:14 -04:00
SeanOMik b9b2c9f8e7
Finish fixed rate transform interpolation for the renderer
ci/woodpecker/push/build Pipeline failed Details
2023-11-03 19:50:00 -04:00
SeanOMik 1b723cc30b
Attempt to interpolate transforms in the renderer
ci/woodpecker/push/build Pipeline was successful Details
2023-10-31 14:28:22 -04:00
SeanOMik 31799cae05
Some code cleaup of the renderer file
ci/woodpecker/push/build Pipeline was successful Details
2023-10-29 21:01:58 -04:00