/*
 * This file is part of Tornado-Ray-Tracer: A Java-based ray tracer running on TornadoVM.
 * URL: https://github.com/Vinhixus/TornadoVM-Ray-Tracer
 *
 * Copyright (c) 2021-2022, Vinh Pham Van
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.vinhderful.raytracer.misc.bodies;

import uk.ac.manchester.tornado.api.collections.types.Float4;

/**
 * Represents a sphere using position, radius and color and reflectivity
 */
public class Sphere extends Body {

    /**
     * Construct a sphere given its position, radius and color and reflectivity
     *
     * @param position     position represented by a vector in 3d space
     * @param radius       radius of the sphere
     * @param color        color of the body represented by RGB values
     * @param reflectivity reflectivity of the sphere
     */
    public Sphere(Float4 position, float radius, Float4 color, float reflectivity) {
        super(position, radius, color, reflectivity);
    }
}
