Ship CultMath 0.2.0 to Unity with a UnityEngine conversion bridge
- Bump GameCult.Math and org.gamecult.cultmath to 0.2.0; the CultCache Unity tools package now depends on cultmath 0.2.0. - Rebuild the tracked netstandard2.1 CultMath.dll/pdb with the builder's deterministic command; build-unity-package.ps1 verifies it byte-for-byte. - Add Runtime/UnityBridge (CultMath.UnityBridge asmdef) with ToCultMath / ToUnity / ToColor extension methods for Vector2/3/4, Vector2Int/3Int, Quaternion and Color. C# only admits conversion operators on the source or target type, and the core DLL stays engine-free. - The builder admits exactly that one bridge assembly: it must reference UnityEngine and CultMath.dll, and no core source may be compiled in the package. - Sync the Unity copy of CultMath.hlsl and the third-party notice. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
d514efebba
commit
23cc86c4e9
15 changed files with 179 additions and 29 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"name": "org.gamecult.caching.unity",
|
||||
"displayName": "GameCult CultCache Unity Tools",
|
||||
"version": "1.1.0",
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"org.gamecult.cultlib": "1.0.57",
|
||||
"org.gamecult.cultmath": "0.1.2"
|
||||
"org.gamecult.cultmath": "0.2.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"category": "Scripting"
|
||||
|
|
|
|||
Loading…
Reference in a new issue