mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-28 11:08:36 +02:00
+ | Material system
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
class Sphere : public Object
|
||||
{
|
||||
public:
|
||||
Sphere(const glm::vec3& position, float radius, const Material& material)
|
||||
Sphere(const glm::vec3& position, float radius, const Material *material)
|
||||
: Object(position, material), _radius(radius) {}
|
||||
|
||||
float getRadius() const { return (_radius); }
|
||||
|
Reference in New Issue
Block a user