Commit Graph

516 Commits

Author SHA1 Message Date
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
ikpil ee5d3fd8c7 add IRcRand for unity3d 2023-07-14 22:42:48 +09:00
ikpil 7846d80528 move 2023-07-13 20:39:22 +09:00
ikpil 92b4e06578 move GetPolyCenter 2023-07-13 20:38:42 +09:00
ikpil 34e2f9a738 test FindRandomPointAroundCircle 2023-07-12 00:14:25 +09:00
ikpil 43cf1c12ba remove CornerHeight class 2023-07-11 23:06:22 +09:00
ikpil c604ff1ac5 changed ConvexVolumeToolImpl for unity3d 2023-07-10 19:17:38 +09:00
ikpil e923e8262a ConvexVolume RcConvexVolume for unity3d 2023-07-10 19:03:47 +09:00
ikpil bc14092125 add scoped timer 2023-07-08 12:20:20 +09:00
ikpil deeee5e9d2 readonly DtSegInterval 2023-07-08 10:54:07 +09:00
ikpil 6b30d99651 mvvm 2023-07-07 23:29:08 +09:00
ikpil 846e1a9b65 change convexVolume tool impl for unity3d 2023-07-06 00:01:53 +09:00
ikpil bb047c5a1d reuse collection 2023-07-05 00:03:37 +09:00
ikpil 5f41636043 [Upstream] Bounds checks were unnecessary inclusive. (#418) 2023-07-04 00:18:02 +09:00
ikpil 86ad3c4148 poly.GetType -> poly.GetPolyType 2023-07-04 00:09:07 +09:00
ikpil db64fbd047 use sample.Update 2023-07-03 23:20:50 +09:00
ikpil c3288618cf add raycast event 2023-07-03 23:04:14 +09:00
ikpil 14fd8b1d09 save navmesh file 2023-07-03 00:16:53 +09:00
ikpil e74cd58525 fix - load navmesh binary 2023-07-03 00:02:43 +09:00
ikpil 3b9234e83d rename event 2023-07-02 15:53:32 +09:00
ikpil 9264cf6446 add build event 2023-07-02 15:44:34 +09:00
ikpil 5335c133e9 add recast demo message 2023-07-02 15:35:46 +09:00
ikpil a6b1cc1d5a remove Tuple<string, long> 2023-07-01 13:12:29 +09:00
ikpil 43bfc9a5a0 move DotRecast.Core.RcTelemetry 2023-07-01 13:05:38 +09:00
ikpil 8bc3afa2ec rename Telemetry -> RcTelemetry, add RcTelemetryTick 2023-07-01 12:50:25 +09:00
ikpil f2d2288283 added DtTileCacheBuildResult 2023-07-01 12:24:23 +09:00
ikpil a68df35d91 revmoe Tuple<int, bool> 2023-07-01 11:54:19 +09:00
ikpil 3878fd0b95 remove Tuple<IList<RecastBuilderResult>, DtNavMesh> 2023-07-01 11:47:42 +09:00
ikpil e053f57571 remove Tuple<ICollider, IColliderGizmo> 2023-07-01 11:26:56 +09:00
ikpil fa1e0eaeaa Added DtConnectPoly 2023-07-01 00:18:25 +09:00
ikpil 9d29d1f6c0 remove Tuple.Create 2023-06-30 21:56:30 +09:00
ikpil 601526e053 float[12] to RcVec3f[4] 2023-06-30 00:12:36 +09:00
ikpil 52fbaeac7f converting ... test navmesh tool 2023-06-29 22:50:55 +09:00
ikpil 9bb037849c reuse list 2023-06-28 23:36:58 +09:00
ikpil d2661a4318 test navmesh tool, impl 2023-06-28 23:29:50 +09:00
ikpil ddcf05b213 rename 2023-06-28 23:13:17 +09:00
ikpil 97c426966b OffMeshConnectionTool, impl 2023-06-28 23:12:32 +09:00
ikpil 1cb7bbb7a1 bugfix - shift key not working in demo 2023-06-28 22:41:12 +09:00
ikpil cfe0f4d60c remove duplicate package reference 2023-06-28 10:11:55 +09:00
ikpil 5e2870199d move jump link builder tool for unity3d 2023-06-28 00:17:02 +09:00
ikpil a2d2519daa reuse neis 2023-06-27 00:06:07 +09:00
ikpil 38d94b08bf test code 2023-06-26 22:50:24 +09:00
ikpil 3e6e67cf25 fixed navmesh tool 2023-06-26 21:20:18 +09:00
ikpil 5dd072f3a3 Removed fixupCorridor and replaced with dtMergeCorridorStartMoved (#637) 2023-06-26 21:19:44 +09:00
ikpil 6d8062b41e change interface SegmentVert 2023-06-25 22:46:18 +09:00
ikpil 1d7c329f23 remove Detour.QueryResults.Result 2023-06-23 07:54:28 +09:00
ikpil 05c50e8d12 non allocate 2023-06-23 07:33:03 +09:00
ikpil a5fc55ab71 non allocate 2023-06-23 07:06:01 +09:00
ikpil 33399c0348 add DtfindPathOption 2023-06-23 00:46:51 +09:00
ikpil 828ada3ea4 fixed - flexible ui 2023-06-23 00:00:21 +09:00
ikpil e6da1bbb7d upgrade serilog 2023-06-22 23:15:43 +09:00
jgkim 957785ed51 폰트 크기 수정 및 UI 위치조정 2023-06-22 22:59:17 +09:00
jgkim f11d5945a5 CrowdAgent MaxAcceleration, MaxSpeed 설정 가능하도록 수정. 2023-06-22 22:59:17 +09:00
jgkim ddf0cc4e26 좌표 로그 소수점 한자리로 표시. 2023-06-22 22:59:17 +09:00
jgkim 4e9557dc49 잘못된 주석 위치 변경 2023-06-22 22:59:17 +09:00
ikpil 9cf145a471 added static DefaultQueryHeuristic.Default 2023-06-21 22:47:47 +09:00
ikpil 120c946a34 move const float s 2023-06-20 23:23:13 +09:00
ikpil d38cddfbc6 changed UpdateSlicedFindPath 2023-06-20 22:41:51 +09:00
ikpil 4112168f4a bugfix - nullable straightPath 2023-06-20 21:13:25 +09:00
ikpil 58890825b3 Fix issue with inability to locate cimgui in certain environments 2023-06-20 21:13:09 +09:00
ikpil 9c42e58e86 change FindCorners 2023-06-20 01:36:03 +09:00
ikpil 6433ce8d95 remove unused function 2023-06-20 00:33:41 +09:00
ikpil 00713fa2b1 remove GetPolyWallSegmentsResult 2023-06-19 23:10:48 +09:00
ikpil b49fa1deb2 remove FindLocalNeighbourhoodResult 2023-06-18 17:57:00 +09:00
ikpil 2392b446f7 remove LegacyNavMeshQuery 2023-06-18 17:31:58 +09:00
ikpil abc9692857 remove FindDistanceToWallResult 2023-06-18 17:29:36 +09:00
ikpil b6ee6816de changed GetEdgeMidPoint, GetEdgeIntersectionPoint 2023-06-18 14:36:38 +09:00
ikpil 7ae7c3f41e change GetPolyArea 2023-06-18 14:23:56 +09:00
ikpil 8a5614eca4 change ClosestPointOnPolyBoundary 2023-06-18 11:43:01 +09:00
ikpil 0971bf2c3c remove portalResult 2023-06-18 10:19:40 +09:00
ikpil fdf4639c47 change GetPortalPoints 2023-06-18 09:54:29 +09:00
ikpil da6c972c23 change GetPolyFlags 2023-06-18 08:53:35 +09:00
ikpil 4deaef03b4 remove Tuple<RcVec3f, RcVec3f> in GetOffMeshConnectionPolyEndPoints 2023-06-17 20:38:09 +09:00
ikpil 517bb8eb25 chagned return DtStatus 2023-06-17 17:58:58 +09:00
ikpil c3846198d1 change interface raycast 2023-06-16 19:15:34 +09:00
ikpil bf8d5f165d changed IsMousInside -> IsHovered 2023-06-15 23:10:52 +09:00
ikpil b7c8111a69 upgrade system.text.json 2023-06-15 22:44:21 +09:00
ikpil 9d080e3b83 add ofidx 2023-06-15 18:27:19 +09:00
ikpil 4c97468f06 bugfinx - UI Hovered is always false while the mouse is being clicked 2023-06-15 00:38:52 +09:00
ikpil 91cc42b828 bugfinx - modstate can not setting 1 in recast demo 2023-06-15 00:36:26 +09:00
ikpil d17b6c13c6 mode state 2023-06-14 00:00:45 +09:00
ikpil b1941432aa RcVec2f, 3f, string ToString 2023-06-13 14:53:51 +09:00
ikpil ca51085826 move IRcTool.SetSample to ISampleTool.SetSample 2023-06-13 01:19:05 +09:00
ikpil a8aafc8491 add ISampleTool Idiom 2023-06-13 01:04:14 +09:00
ikpil 51de2c88f9 changed m_sample -> _sample 2023-06-13 00:40:03 +09:00
ikpil ba1bdb0295 namespace add DemoTool.Tools 2023-06-13 00:36:17 +09:00
ikpil c069c1fd54 move Demo.Sample to DemoTool.Sample 2023-06-13 00:24:48 +09:00
ikpil 06e892b2d8 remote Tuple<bool, float> -> computeNavMeshHeight 2023-06-13 00:14:09 +09:00
ikpil d8d3a572c9 C# style GetPolyHeight 2023-06-12 23:39:41 +09:00
ikpil 42583ab5d3 remove MoveAlongSurfaceResult 2023-06-12 00:02:58 +09:00
ikpil 96928355c1 transfer the ownership of managing the sample settings to the demo toolkit. 2023-06-11 16:27:17 +09:00
ikpil 869c1e7b98 separated various build configuration values in the sample view 2023-06-11 16:04:21 +09:00
ikpil 5e1d4cd02a prepare tool <- control < view 2023-06-11 14:58:37 +09:00
ikpil 40229226dc remove FindPolysAroundResult 2023-06-11 14:17:48 +09:00
ikpil 36ad2e1498 remove FindNearestPolyResult ok 2023-06-11 13:41:37 +09:00
ikpil 64315ca56e remove FindNearestPolyResult 1st 2023-06-11 13:28:05 +09:00
ikpil 34e04f010e remove Result<Tuple<DtMeshTile, DtPoly>> 2023-06-11 01:15:44 +09:00
ikpil a0877d3dc6 remove class FindRandomPointResult 2023-06-10 23:18:21 +09:00
ikpil 3d2cb74e2c bugfix - reset randomRef, randomPt 2023-06-10 22:41:50 +09:00
ikpil 83da4196e4 remove FindRandomPointResult 3st 2023-06-10 22:34:53 +09:00
ikpil e775e7ad83 remove FindRandomPointResult 2st 2023-06-10 22:20:56 +09:00
ikpil 6271dc71d9 remove FindRandomPointResult 1st 2023-06-10 21:57:39 +09:00
ikpil fc1f64bcc9 remove ClosestPointOnPolyResult 2023-06-10 15:16:52 +09:00
ikpil b75537d0b1 class DtStatus => readonly struct DtStatus 2023-06-10 13:48:00 +09:00
ikpil 7bca7922eb refactoring DtStatus 1st 2023-06-10 13:27:27 +09:00
ikpil a10dae89cd add detail information at DtStatus 2023-06-10 12:37:39 +09:00
ikpil c42d89003b remove Tuple<DtMeshTile, DtPoly> 2023-06-10 12:12:02 +09:00
ikpil 776548e916 bugifx - ImGui button duplicate label 2023-06-09 20:56:03 +09:00
ikpil fc553e2753 prepare model <- vm or ctrl <- view 2023-06-09 00:06:04 +09:00
ikpil 25ad6eeff0 changed class names by c++ recastnavigation 2023-06-08 22:24:34 +09:00
ikpil fc83bca454 remove Results 2023-06-08 21:52:55 +09:00
ikpil 03b9a987dd static class 2023-06-08 21:39:12 +09:00
ikpil 5457bb04e5 changed class names by c++ recastnavigation 2023-06-08 21:38:02 +09:00
ikpil b2a631a8fc changed class names by c++ recastnavigation 2023-06-08 20:53:03 +09:00
ikpil 5ab6aaba56 remove unused using 2023-06-08 00:09:52 +09:00
ikpil 36eb495ea7 remove ConsoleTextWriterHook 2023-06-08 00:04:49 +09:00
ikpil 996592eec3 for unity3d 2023-06-07 23:40:05 +09:00
ikpil ed55d6a7f2 for unity3d 2023-06-07 23:35:40 +09:00
ikpil 17891c2d43 for unity3d 2023-06-07 23:19:25 +09:00
ikpil cfe8378f1d for unity3d 2023-06-07 23:18:51 +09:00
ikpil 6360e6dd76 for unity3d 2023-06-07 23:17:35 +09:00
ikpil 475bfce71c first setting working directory 2023-06-07 23:14:15 +09:00
ikpil acc1a17fa4 added default RcVec3f 2023-06-07 15:06:23 +09:00
ikpil f18b31b953 compile error 2023-06-07 00:26:36 +09:00
ikpil f22ae12d1e move StatusEx 2023-06-07 00:24:41 +09:00
ikpil c70d2ebfd4 remove new int[3] in GetPolyMergeValue 2023-06-06 19:06:01 +09:00
ikpil 695fe15a6e remove new int[] in GetPolyMergeValue 2023-06-06 12:12:39 +09:00
ikpil 1d46fe20f1 remove new int[2] 2023-06-06 00:34:49 +09:00
ikpil 1f80b70461 remove int[] offset = new int[] { 0, 1, 0, -1 }; 2023-06-05 14:37:44 +09:00
ikpil bab26f529b remove new int[] offsets 2023-06-04 11:47:41 +09:00
ikpil bad1d7590a rename in DividePoly 2023-06-03 22:13:27 +09:00
ikpil f29fefb149 rename Vector3f, Vector2f -> RcVec3f, RcVec2f 2023-06-03 21:47:26 +09:00
ikpil 1ed0d41218 remove warn 2023-06-02 00:13:25 +09:00
ikpil 75aaaefbc3 remove warn 2023-06-01 23:44:39 +09:00
ikpil 1580a34043 remove warning 2023-06-01 23:44:15 +09:00
ikpil c535c76d18 added DetourCommon 2023-06-01 23:44:02 +09:00
ikpil e87d1f9635 remove new int[2] in CalcTileCount() 2023-06-01 22:25:15 +09:00
ikpil a96f582a54 removed new int[2] in CalcGridSize() 2023-06-01 22:21:31 +09:00
ikpil d9f8629930 안쓰는 참조 제거 2023-05-31 22:22:06 +09:00
ikpil 328fcdaca7 int[] CalcTileLoc(pos) -> void CalcTileLoc(pos, out, out) 2023-05-31 22:13:47 +09:00
ikpil 5bcacd8e7c remove new int[3] -> out salt, it, ip 2023-05-31 22:06:19 +09:00
ikpil ba89398253 remove Tuple<int, Vector3f> 2023-05-31 00:46:12 +09:00
ikpil bf07c8f3ff remove tuple<float, float> ok!! 2023-05-30 22:15:44 +09:00
ikpil 98f62a4f8a remove tuple<float, float> 2023-05-29 12:33:41 +09:00
ikpil 11f023969f remove tuple<float, float> 1st 2023-05-29 12:06:03 +09:00
ikpil e8165859de inline 2023-05-27 11:37:32 +09:00
ikpil fa2b7f4ed5 move RecastVectors -> Vector3f 2023-05-26 21:34:29 +09:00
ikpil 995c062a18 float[2] -> Vector2f 2023-05-25 23:27:32 +09:00
ikpil 3f72b8e916 inline Vector3f 2023-05-25 23:12:23 +09:00
ikpil 425e1887f6 Vector3f inline 2023-05-24 00:06:28 +09:00
ikpil 3f79c8294f inline vector3f 2023-05-23 00:07:12 +09:00
ikpil febc66e791 upgrade library 2023-05-22 10:57:33 +09:00
ikpil 5ee2f6661c move VMad -> Vector3f.Mad 2023-05-21 18:00:03 +09:00
ikpil 458f57e3d5 [Upstream] Fix spans being filtered even if they have just enough clearance 2023-05-21 16:55:24 +09:00
ikpil 0af084afb8 remove VCopy 2023-05-20 12:33:51 +09:00
ikpil 50090a4555 remove VSet 2023-05-20 12:28:03 +09:00
ikpil ba63c95806 reomve vcopy 2023-05-20 12:22:41 +09:00
ikpil 2945a09b73 RcMath.VScale -> inline Vector3f.Scale 2023-05-20 11:02:59 +09:00
ikpil e55f37abca VDot -> Vector3f.Dot 2023-05-19 22:56:12 +09:00
ikpil e68d6ab5fa remove warning 2023-05-18 08:30:38 +09:00
ikpil b1f29a0812 move RcMath VDist, VLen -> Vector3f.Distance, Length 2023-05-18 08:25:57 +09:00
ikpil aeaf0f2c41 move RcMath.VAdd -> Vector3f.Add, operator+ 2023-05-18 08:15:50 +09:00
ikpil 63427dce0a [개발/최익필] VLerp -> Vector3f.Lerp 2023-05-17 14:30:41 +09:00
ikpil 1e76fd0884 RcMath VNormalize -> Vector3f.Normalize 2023-05-15 23:25:50 +09:00