diff options
Diffstat (limited to 'tests/src/JIT/Performance/CodeQuality/SIMD/RayTracer/SceneObject.cs')
-rw-r--r-- | tests/src/JIT/Performance/CodeQuality/SIMD/RayTracer/SceneObject.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/src/JIT/Performance/CodeQuality/SIMD/RayTracer/SceneObject.cs b/tests/src/JIT/Performance/CodeQuality/SIMD/RayTracer/SceneObject.cs new file mode 100644 index 0000000000..8b4adea04f --- /dev/null +++ b/tests/src/JIT/Performance/CodeQuality/SIMD/RayTracer/SceneObject.cs @@ -0,0 +1,14 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// + +internal abstract class SceneObject +{ + public Surface Surface; + public abstract ISect Intersect(Ray ray); + public abstract Vector Normal(Vector pos); + + public SceneObject(Surface surface) { Surface = surface; } +} + |