Commit Graph

679 Commits

Author SHA1 Message Date
ikpil 587cebd32c feat: added DotRecast.Core.Collections namespace 2023-10-17 00:24:09 +09:00
ikpil cfcdf86f2d feat: change namespace RcVec2f, RcVec3f, RcMatrix4x4f for dotent 8 2023-10-16 23:55:34 +09:00
ikpil 628c4ef0ce refactor: new float[3] -> RcVec3f 2023-10-15 21:30:55 +09:00
ikpil 30cbf7119b feat: multiple target frameworks 2023-10-14 19:46:55 +09:00
ikpil 5aac44c440 refactor: remove RcVec3f.Of(float[] f, int idx) 2023-10-14 19:30:33 +09:00
ikpil 19136129ab refactor: remve RcVec3f.Of(float[] f) 2023-10-13 00:04:46 +09:00
ikpil 228bdc9e4d refactor: remove RcVec3f.Of(x,y,z) 2023-10-12 23:52:32 +09:00
ikpil adfded5a94 refactor: float[2] -> RcVec2f 2023-10-12 23:31:25 +09:00
ikpil 61a21327e9 refactor: new float[2] -> RcVec2f 2023-10-12 23:21:24 +09:00
ikpil fe305e6fd1 refactor: const float EPSILON 2023-10-12 23:14:17 +09:00
ikpil 7965af390e refactor: Change 'xyz' to uppercase in preparation for switching to System.Numeric.Vector3 2023-10-12 23:04:29 +09:00
ikpil 8d3a1d2d68 refactor: typo 2023-10-11 23:55:37 +09:00
ikpil 3df6036ebb refactor: typo 2023-10-11 23:31:15 +09:00
ikpil 26387de859 refactor: Move constants from class DtNavMesh to class DtDetailTriEdgeFlags
- moved constraints DT_DETAIL_EDGE_BOUNDARY
2023-10-10 23:47:20 +09:00
ikpil 10231da589 typo 2023-10-08 14:54:57 +09:00
ikpil e718f6174e refactor: RcBuildContoursFlags 2023-10-08 14:48:43 +09:00
ikpil 2169a18c85 refactor: DtCrowdAgentUpdateFlags 2023-10-08 14:45:20 +09:00
ikpil 6416374f94 refactor: DtNodeFlags 2023-10-08 14:40:07 +09:00
ikpil 78d4591c3c refactor: DtPolyTypes 2023-10-08 14:32:13 +09:00
ikpil 31734246b6 refactor: DtFindPathOptions, DtRaycastOptions 2023-10-08 14:28:56 +09:00
ikpil 533afe49e2 refactor: flags 2023-10-08 14:23:58 +09:00
ikpil 17b3832297 fix: Possible loss of precision while rounding values 2023-10-05 23:55:51 +09:00
ikpil 34f38fc874 refactoring: typo 2023-10-05 23:35:18 +09:00
ikpil e02e097577 refactoring: prefix Dt 2023-10-05 00:11:58 +09:00
ikpil 72a93f0e73 feat: DotFastLZ 2023-10-04 23:05:29 +09:00
ikpil 57571865fe feat: ready nuget!! 2023-10-03 15:56:56 +09:00
ikpil 5d793573cb changed: typo 2023-10-01 18:50:04 +09:00
ikpil f02e956aef feat: add comment for windows 2023-09-30 13:30:52 +09:00
ikpil 229ab3f9f5 refactor: ObjImporter, InputGeomProvider 2023-09-24 18:42:41 +09:00
ikpil c294275da4 bugfix: not working reousrce.load 2023-09-23 14:47:04 +09:00
ikpil 4f2cc63886 refactor: annotation builder 2023-09-23 07:57:47 +09:00
ikpil 707d91afea refactor: clamp 2023-09-23 07:38:46 +09:00
ikpil a46aa0eaee refactor: math 2023-09-23 07:30:47 +09:00
ikpil 07e6b08517 refactor: rename 2023-09-22 23:42:21 +09:00
ikpil 087582c42e refactor: rename for unity3d 2023-09-21 23:36:55 +09:00
ikpil 25bc69f2e4 fix: search directory 2023-09-21 23:13:39 +09:00
ikpil bfa20b41e8 refactor: rename 2023-09-20 23:44:02 +09:00
ikpil c1cc0fb286 refactor: added RcDirectory, RcResources 2023-09-20 23:41:18 +09:00
ikpil 3ff14834f0 rename in DotRecast.Detour.Dynamic 2023-09-16 12:49:58 +09:00
ikpil fea18a5064 remove unused function 2023-09-16 12:17:43 +09:00
ikpil 13d035e815 remove float[16] 2023-09-14 23:17:40 +09:00
ikpil 5ac225a712 update _viewMatrix in DebugDraw 2023-09-14 23:10:06 +09:00
ikpil 01d7740e81 remove new float[16] 2023-09-14 22:58:13 +09:00
ikpil 5dd6f5f910 remove unused using 2023-09-13 23:34:26 +09:00
ikpil e8d14375e5 refactor: float[16] -> RcMatrix4x4f 2023-09-13 23:33:16 +09:00
ikpil 4726284c56 refactor: dynamic update tool 2023-09-13 00:26:42 +09:00
ikpil 6e4d7e95a6 typo 2023-09-12 23:57:00 +09:00
ikpil db6b222e25 refactor: DynamicUpdateTool 2023-09-12 00:06:12 +09:00
ikpil a4da8001e6 typo 2023-09-12 00:03:21 +09:00
ikpil c08f5f530f feat: add RcMatrix4x4f 2023-09-12 00:02:47 +09:00
ikpil 6e8867ec94 refactor: vcelfile save and load 2023-09-11 23:22:11 +09:00
ikpil 9788fd536f typo 2023-09-10 16:54:37 +09:00
ikpil f7ca2efc3f refactor: DynamicupdateSampleTool 2023-09-10 16:12:43 +09:00
ikpil ab50f0fd53 refactor: DynamicUpdateSampleTool 2023-09-10 16:03:10 +09:00
ikpil c03d3053c5 remove prev move var in DynamicUpdateTool 2023-09-10 14:50:47 +09:00
ikpil ab05f845ca refactor PATHFIND_SLICED 2023-09-10 14:37:02 +09:00
ikpil 013a53fbc9 refactor: FIND_LOCAL_NEIGHBOURHOOD 2023-09-10 14:30:46 +09:00
ikpil 8ca7142bc5 refactor: DISTANCE_TO_WALL 2023-09-10 14:16:27 +09:00
ikpil ac0ee0f734 refactor: PATHFIND_STRAIGHT 2023-09-10 14:02:40 +09:00
ikpil ace37833e5 refactor: PATHFIND_FOLLOW 2023-09-10 13:53:31 +09:00
ikpil 539a028f58 refactor: RAYCAST 2023-09-10 13:47:18 +09:00
ikpil 5fd07d1e07 refactor: RANDOM_POINTS_IN_CIRCLE 2023-09-10 13:30:02 +09:00
ikpil a0a3a24e75 refactor: FIND_POLYS_IN_CIRCLE, FIND_POLYS_IN_SHAPE 2023-09-10 13:22:21 +09:00
ikpil 54e8835cb7 feat: add random point count 2023-09-10 12:45:49 +09:00
ikpil fccc6fa2e7 typo 2023-09-10 12:37:23 +09:00
ikpil c84736dc1e refactor: TestNavmeshSampleTool 2023-09-10 12:20:01 +09:00
ikpil cd0d096c2c refactor: OffMeshConnectionSampleTool 2023-09-10 11:58:31 +09:00
ikpil 8d6c693e05 refactor: ObstacleSampleTool 2023-09-10 11:56:14 +09:00
ikpil 122239030a refactor: RcConvexVolumeTool 2023-09-10 11:30:28 +09:00
ikpil 4f3580d3f4 fix: bidir 2023-09-10 10:33:08 +09:00
ikpil 4f3804ae3d typo 2023-09-10 10:10:47 +09:00
ikpil 67a1713e47 crowd profiling model + view 2023-09-09 23:57:07 +09:00
ikpil 95af26e884 Crowd Sample Tool Model + View 2023-09-09 23:20:47 +09:00
ikpil 303f194fe7 typo 2023-09-09 22:09:14 +09:00
ikpil db13598295 feat skip updates for unselected tools 2023-09-09 14:04:25 +09:00
ikpil 07a7f4960b crowd updage flags 2023-09-09 12:51:44 +09:00
ikpil c76d87380a crowd option 2023-09-09 12:49:11 +09:00
ikpil be1dad863f separated Crowd, Crowd profiling 2023-09-09 12:42:30 +09:00
ikpil 010876b86e typo 2023-09-08 23:43:17 +09:00
ikpil 95d25d8572 tool ... 2023-09-08 00:06:32 +09:00
ikpil 8b4a280958 support ToList() at RcSortedQueue 2023-09-06 12:17:38 +09:00
ikpil ecca198d6f [Upstream] Minor refactor in RecastMesh.cpp (#661)
- https://github.com/recastnavigation/recastnavigation/pull/661
2023-09-06 00:12:19 +09:00
ikpil 1008a15856 MeshProcess 2023-09-05 00:06:19 +09:00
ikpil 5836fedc7b typo 2023-09-04 23:36:29 +09:00
ikpil a331b3e861 for unity3d 2023-09-03 16:51:41 +09:00
ikpil 32251f756f typo 2023-09-03 05:06:29 +09:00
ikpil 3f3124095e using import 2023-09-02 17:26:52 +09:00
ikpil 2ed8e7a141 completed ObstacleSampleTool 2023-09-02 15:49:10 +09:00
ikpil d7f9b6e348 support empty RcImmutableArray 2023-09-02 15:11:19 +09:00
ikpil 3915a4418c reformat api 2023-09-02 14:24:47 +09:00
ikpil c62cfb0985 reformat RcConfig 2023-09-02 13:31:30 +09:00
ikpil c1a2750555 switch branch 2023-09-02 11:57:23 +09:00
ikpil 0027cd36ee typo comment 2023-08-30 23:44:01 +09:00
ikpil e663b617e3 for test 2023-08-30 00:02:49 +09:00
ikpil 729aee68c7 readonly struct ObstacleRequest 2023-08-29 13:49:18 +09:00
ikpil 6b40342a5c Generation params ... 2023-08-24 23:07:43 +09:00
ikpil e4b5bddac7 add GetMesh() in IInputGeomProvider 2023-08-24 23:07:03 +09:00
ikpil afc9d26d52 test tile cache 2023-08-23 23:40:46 +09:00
ikpil 808d6269ad upgrade logger 2023-08-23 23:09:13 +09:00
ikpil e590ca0dba test remove all obstacle 2023-08-23 00:03:35 +09:00
ikpil 1cb03e2c5f draw temp obstacles 2023-08-22 23:48:04 +09:00
ikpil 1c2d211075 typo 2023-08-22 23:26:04 +09:00
ikpil 6b11e459b8 for unity3d 2023-08-22 00:14:11 +09:00
ikpil c07a2c9b80 typo 2023-08-21 23:56:17 +09:00
ikpil 356a4c4e0d ready obstacle tool 2023-08-20 14:12:23 +09:00
ikpil e98ff8bec7 rename for unity3d 2023-08-20 13:45:44 +09:00
ikpil 503b063d84 remove SingleTrimeshInputGeomProvider 2023-08-20 13:25:48 +09:00
ikpil 8328527b2a typo 2023-08-20 13:24:57 +09:00
ikpil c2e954b70a typo for unity3d 2023-08-20 13:19:47 +09:00
ikpil 36746745b7 seperator RcOffMeshConnection, DtOffMeshConnection 2023-08-20 13:08:44 +09:00
ikpil 90f48d1021 remove IConvexVolumeProvider 2023-08-20 13:05:04 +09:00
ikpil bac7a76258 add demotool, toolable 2023-08-20 12:40:05 +09:00
ikpil a94965ac40 typo 2023-08-19 16:13:37 +09:00
ikpil b7a160b93a typo 2023-08-19 15:45:05 +09:00
ikpil 4be459b296 add tile cache compressor factory shared 2023-08-19 15:31:51 +09:00
ikpil 2050c476a2 add demo tile cache comp factory 2023-08-19 14:55:45 +09:00
ikpil 262a101921 typo 2023-08-19 14:54:36 +09:00
ikpil 5b20414987 readonly struct DtTileCacheStorageParams 2023-08-19 13:16:29 +09:00
ikpil 67fb861ac1 add DtTileCacheLayerBuilder 2023-08-19 13:03:00 +09:00
ikpil 6450704a8f add DtTileCacheLayerBuilder 2023-08-19 12:48:47 +09:00
ikpil 167990fc2c csproj typo 2023-08-19 12:46:30 +09:00
D.최익필 da8bac596a [Upstream] Typo fixes (recastnavigation #660) 2023-08-18 14:04:56 +09:00
ikpil e819b20373 add .editorconfig 2023-08-17 23:28:00 +09:00
ikpil 89f4e73abf shared filter 2023-08-16 23:49:43 +09:00
ikpil d5ec42d23d upgrade LZ4 2023-08-16 11:15:01 +09:00
ikpil e8e64ea351 class to struct DtNavMeshParams, DtTileCacheSetHeader, DtTileCacheParam 2023-08-15 12:18:28 +09:00
ikpil c353672a09 add os bit log 2023-08-15 10:34:18 +09:00
ikpil 0284ce3d7e add working environment 2023-08-14 22:47:57 +09:00
ikpil bd16322ec2 need to perform string parsing and formatting without depending on notation. (#7)
- https://github.com/ikpil/DotRecast/issues/7
- thank you @BasicCPPDev
2023-08-13 14:59:01 +09:00
ikpil 433342c033 [Upstream] Some quick cleanup in RecastRasterization.cpp (recastnavigation #655)
* Rename hf -> heightfield to be consistent
* Removed unused include
2023-08-11 12:51:07 +09:00
ikpil cb65fc619d for unity3d 2023-08-08 23:27:58 +09:00
ikpil 4a3e52350d for unity3d 2023-08-08 23:15:02 +09:00
ikpil 3aefd2c378 change class RcCompactCell -> readonly struct RcCompactCell 2023-08-06 12:05:23 +09:00
ikpil 898cf33dbb move K4os.Compression.LZ4 2023-08-05 22:39:18 +09:00
ikpil 22a699183e changing compression feature into an Interface 2023-08-05 21:45:05 +09:00
ikpil d19133268e change json library for unity3d 2023-08-05 20:21:53 +09:00
ikpil 8ed6a86113 typo 2023-08-05 11:27:23 +09:00
ikpil 1104e2276e add RcImmutableArray for unity3d 2023-08-05 10:27:10 +09:00
ikpil b384133553 add shared comparer 2023-08-05 08:42:21 +09:00
ikpil eb077a4e6d rename for unity3d 2023-08-05 08:31:43 +09:00
ikpil 40fda6806e rename for typo 2023-08-04 23:18:40 +09:00
ikpil 77153ddb25 rename for unity3d 2023-08-04 23:08:29 +09:00
ikpil cab865f747 rename for unity3d 2023-08-04 22:59:52 +09:00
ikpil 94e1922e02 rename for unity3d 2023-08-04 22:53:54 +09:00
ikpil 74cbb2ee29 add DtCrowdTimerLabel 2023-08-04 00:17:51 +09:00
ikpil 71b68a4937 remove all nullable float 2023-08-03 00:06:16 +09:00
ikpil dab3a9e020 remove nullable float in GetPolyHeight 2023-08-02 23:43:56 +09:00
ikpil bc3e8cd7bd for intellisense 2023-08-02 00:04:59 +09:00
ikpil e3cad83e55 added RcMatrix4X4 2023-08-02 00:00:00 +09:00
ikpil 974b2480dd remove NavMeshUtils 2023-08-01 23:59:45 +09:00
ikpil 912b9e27fb remove nullable float in DtNavMeshRaycast.Raycast, RcPolyMeshRaycast.Raycast 2023-08-01 23:32:28 +09:00
ikpil ccba2afb0c renavme for unity3d 2023-07-31 15:40:26 +09:00
ikpil 783ef97173 rename for unity3d 2023-07-31 15:38:53 +09:00
ikpil 123640627a remove nullable float at DtUtils.ClosestHeightPointTriangle 2023-07-31 10:38:14 +09:00
ikpil 71838af06c rename DetourCommon to DtUtils 2023-07-31 10:34:20 +09:00
ikpil 47a93f7ab3 remove nullable float in TraversHeightfield 2023-07-31 10:17:59 +09:00
ikpil 0614c040ba remove nullable float in IntersectSegmentTriangle 2023-07-30 11:27:10 +09:00
ikpil 8044b85ec5 rename Recast.Recast -> RcUtils 2023-07-30 11:17:10 +09:00
ikpil 5b16338447 added check tile building 2023-07-30 10:36:02 +09:00
ikpil d21cbfb46d move function to a different location in the code 2023-07-29 15:57:17 +09:00
ikpil 0ab618bc15 failed to build navmesh in unity3d 2023-07-29 12:01:38 +09:00
ikpil eb8eaa1d36 obstacle layout 2023-07-29 10:47:12 +09:00
ikpil b115f816b4 adding obstacle tool 2023-07-29 10:44:24 +09:00
ikpil 12dfb27538 for unity3d 2023-07-28 21:01:22 +09:00
ikpil 2842c65bb7 for unity3d 2023-07-28 20:43:50 +09:00
ikpil 2553e40ad3 add RemoveAllTiles, BuildAllTiles 2023-07-28 09:49:22 +09:00
ikpil 60850b0cbf added tile tool 2023-07-27 15:39:21 +09:00
ikpil afc515c498 build by sample settings 2023-07-27 14:29:34 +09:00
ikpil e6e17d83a2 typo 2023-07-27 14:19:31 +09:00
ikpil 21a6b1c5e8 null check 2023-07-27 13:01:20 +09:00
ikpil 403e611628 test 2023-07-27 08:43:52 +09:00
ikpil 1dbf7aac44 remove tile in tile tool 2023-07-27 08:43:28 +09:00
ikpil d5f1b4be54 view active tile box wire 2023-07-27 06:40:41 +09:00
ikpil 1968d90609 use DebugDrawCross 2023-07-27 06:31:16 +09:00
ikpil 8681a822ad tt 2023-07-27 06:27:38 +09:00
ikpil dd08fcee70 draw demo 2023-07-27 06:21:55 +09:00
ikpil b42c26c844 view grid 2023-07-27 05:59:44 +09:00
ikpil afc1968d3d remove using 2023-07-27 00:30:35 +09:00
ikpil 9381b5b8ff tile selecting 2023-07-27 00:30:01 +09:00
ikpil 1ff0f85b1f add tile grid view 2023-07-27 00:16:52 +09:00
ikpil 0832ed3fdb added tile tool template 2023-07-26 23:13:21 +09:00
ikpil 061c4469ed class StraightPathItem -> readonly struct StraightPathItem 2023-07-26 00:14:34 +09:00
ikpil 04fd0abea0 change public api in StraightPathItem 2023-07-26 00:03:48 +09:00
ikpil f9c79c9b71 add AggressiveInlining 2023-07-26 00:00:09 +09:00
ikpil 336ba6b132 remove class SteerTarget 2023-07-25 23:59:51 +09:00
ikpil 7f10d5814d changed insert sort 2023-07-25 15:44:57 +09:00
ikpil f78b377d26 Fix typo in dtPoly member documentation (recastnavigation #649) 2023-07-25 15:30:36 +09:00
ikpil 27250908d7 [Upstream] Improved variable naming in RecastArea.cpp (recastnavigation #636)
* Cleanup compact heightfield functions in RecastArea.cpp
* More improved variable names for RecastArea.cpp
* Improved variable names and documentation in rcOffsetPoly
* Don't normalize the miter bisector in rcOffsetPoly since this needs to be proportional to both segment normals.
* Moved vector normalization out of rcOffsetPoly into a helper function rcVsafeNormalize
* Rename local variables in rcOffsetPoly
* Rename BMiterX/Z to cornerMIterX/Z
* Also fixed some comment descriptions
* Added docstring for rcVsafeNormalize
* Improved clarity of a few comments
2023-07-25 15:28:45 +09:00
ikpil a57b8f26d6 typo 2023-07-23 17:28:52 +09:00
ikpil 078bf53c15 added ScopeTimer 2023-07-22 19:00:12 +09:00
ikpil 9334315610 performance 2023-07-22 18:40:41 +09:00
ikpil 2efa16eee7 [Upstream] Fix typo (recast4j fixes #150) 2023-07-21 14:37:53 +09:00
ikpil 971e07fde4 [Upstream] Performance optimizations based on discussion by recast4j #149 2023-07-21 14:35:45 +09:00
ikpil 9a4ed56eed remove interectResult class 2023-07-20 23:44:06 +09:00
ikpil 70dc963563 for unity3d 2023-07-19 23:28:19 +09:00
ikpil bbb9c7816f for unity3d 2023-07-19 23:15:27 +09:00
ikpil d58f3937de for unity3d 2023-07-18 22:16:06 +09:00
ikpil 6dbd22ecb7 change name RcSegmentVert for unity3d 2023-07-17 23:24:28 +09:00
ikpil 5588f6f17b bugfix crash 2023-07-16 16:14:44 +09:00
ikpil e22c31052c remove nullable RcVec3f 2023-07-15 11:11:03 +09:00