2ファイル変更
+6
-6
検索条件に一致するファイルはありません
@@ -5229,7 +5229,7 @@ public static partial class Hlsl
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
[Pure]
|
||||
[HlslIntrinsicName("distance")]
|
||||
public static Float2 Distance(Float2 x, Float2 y) => default;
|
||||
public static float Distance(Float2 x, Float2 y) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Returns a distance scalar between two vectors.
|
||||
@@ -5240,7 +5240,7 @@ public static partial class Hlsl
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
[Pure]
|
||||
[HlslIntrinsicName("distance")]
|
||||
public static Float3 Distance(Float3 x, Float3 y) => default;
|
||||
public static float Distance(Float3 x, Float3 y) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Returns a distance scalar between two vectors.
|
||||
@@ -5251,7 +5251,7 @@ public static partial class Hlsl
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
[Pure]
|
||||
[HlslIntrinsicName("distance")]
|
||||
public static Float4 Distance(Float4 x, Float4 y) => default;
|
||||
public static float Distance(Float4 x, Float4 y) => default;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the dot product of two vectors.
|
||||
|
||||
@@ -822,9 +822,9 @@ var Intrinsics = new[]
|
||||
Returns = "A floating-point, scalar value that represents the distance between the {x} parameter and the {y} parameter.",
|
||||
Overloads = new[]
|
||||
{
|
||||
new { Return = "Float2", Params = new[] { "Float2", "Float2" } },
|
||||
new { Return = "Float3", Params = new[] { "Float3", "Float3" } },
|
||||
new { Return = "Float4", Params = new[] { "Float4", "Float4" } }
|
||||
new { Return = "float", Params = new[] { "Float2", "Float2" } },
|
||||
new { Return = "float", Params = new[] { "Float3", "Float3" } },
|
||||
new { Return = "float", Params = new[] { "Float4", "Float4" } }
|
||||
},
|
||||
IsPure = true
|
||||
},
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする