Skip to content

Commit

Permalink
Vector3<T> (dotnet#2)
Browse files Browse the repository at this point in the history
* Add Vector3<T>

See dotnet#24168

* Make Vector3<T> a struct

* Fix IFormattable nullability

* Add XML Docs to Vector3<T>

* Apply suggestions from code review

Co-authored-by: Tanner Gooding <[email protected]>
  • Loading branch information
HurricanKai and tannergooding authored Jun 13, 2020
1 parent d00c5f6 commit 9896af3
Show file tree
Hide file tree
Showing 2 changed files with 972 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,10 @@
<ItemGroup>
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.Shared.xml" />
<!-- TODO: Enable these substitutions files for more platforms once https://github.com/mono/linker/issues/1260 is fixed -->
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.LittleEndian.xml"
Condition="'$(Platform)' == 'wasm'" />

<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.32bit.xml"
Condition="'$(Platform)' == 'wasm'" />

<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.NoArmIntrinsics.xml"
Condition="'$(Platform)' == 'wasm'" />
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.NoX86Intrinsics.xml"
Condition="'$(Platform)' == 'wasm'" />
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.LittleEndian.xml" Condition="'$(Platform)' == 'wasm'" />
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.32bit.xml" Condition="'$(Platform)' == 'wasm'" />
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.NoArmIntrinsics.xml" Condition="'$(Platform)' == 'wasm'" />
<ILLinkSubstitutionsXmls Include="$(ILLinkSharedDirectory)ILLink.Substitutions.NoX86Intrinsics.xml" Condition="'$(Platform)' == 'wasm'" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Internal\IO\File.cs" />
Expand Down Expand Up @@ -447,6 +441,7 @@
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\Vector2_Intrinsics.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\Vector3.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\Vector3_Intrinsics.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\Vector3`1.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\Vector4.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\Vector4_Intrinsics.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Numerics\VectorMath.cs" />
Expand Down Expand Up @@ -1900,4 +1895,4 @@
<Compile Include="$(MSBuildThisFileDirectory)System\Text\Utf8Span.Searching.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Text\Utf8StringComparer.cs" />
</ItemGroup>
</Project>
</Project>
Loading

0 comments on commit 9896af3

Please sign in to comment.