Compare commits

..
6 changed files with 7 additions and 11 deletions

View file

@ -1,8 +1,4 @@
# CultMath (archived)
CultMath now lives in [`GameCult/CultLib`](https://github.com/GameCult/CultLib)
under `packages/cultmath`. This repository preserves pre-monorepo history and
release provenance; it is not the source or release authority.
# CultMath
Clean-room math shaped for people who think in HLSL.
@ -88,7 +84,7 @@ CultMath's Unity 2021.3 surface is the tracked precompiled package at
tree and does not require a consumer `csc.rsp` workaround.
```json
"org.gamecult.cultmath": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.1.2"
"org.gamecult.cultmath": "https://github.com/GameCult/CultMath.git?path=/unity/org.gamecult.cultmath"
```
The repository root is not a Unity package. Build the tracked package with
@ -106,7 +102,7 @@ CultMath keeps portable DXC outside git under `.tools/`:
.\tools\compile-hlsl-spirv.ps1 `
-ShaderPath E:\Projects\Odin\crates\muninn-move-tracker\shaders\MoveSphereCandidate.comp.hlsl `
-OutputPath E:\Projects\Odin\crates\muninn-move-tracker\artifacts\shader\MoveSphereCandidate.comp.spv `
-IncludePath E:\Projects\CultLib\packages\cultmath\shaders
-IncludePath E:\Projects\CultMath\shaders
.\tools\compile-spirv-metal.ps1 `
-SpirvPath E:\Projects\Odin\crates\muninn-move-tracker\artifacts\shader\MoveSphereCandidate.comp.spv `
-OutputPath E:\Projects\Odin\crates\muninn-move-tracker\artifacts\shader\MoveSphereCandidate.comp.metal

View file

@ -8,10 +8,10 @@
<RootNamespace>CultMath</RootNamespace>
<AssemblyName>CultMath</AssemblyName>
<PackageId>CultMath</PackageId>
<Version>0.1.2</Version>
<Version>0.1.1</Version>
<Description>Clean-room C# math shaped for HLSL-style renderer code.</Description>
<Authors>GameCult</Authors>
<RepositoryUrl>https://github.com/GameCult/CultLib</RepositoryUrl>
<RepositoryUrl>https://github.com/GameCult/CultMath</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<NoWarn>$(NoWarn);CS8981</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

View file

@ -22,7 +22,7 @@ DLL/PDB and stable Unity metadata, and stages an inspectable package under
Consume the repository package with:
```json
"org.gamecult.cultmath": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.1.2"
"org.gamecult.cultmath": "https://github.com/GameCult/CultMath.git?path=/unity/org.gamecult.cultmath"
```
Production consumers should pin that URL to a commit or release tag.

View file

@ -1,7 +1,7 @@
{
"name": "org.gamecult.cultmath",
"displayName": "CultMath",
"version": "0.1.2",
"version": "0.1.1",
"unity": "2021.3",
"description": "Precompiled CultMath numeric primitives and matching HLSL semantics for GameCult Unity runtimes.",
"license": "MPL-2.0",