You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
321 B
12 lines
321 B
#pragma once
|
|
#include "Vector3.h"
|
|
|
|
class Ray {
|
|
public:
|
|
Vector3 mOrigin;
|
|
Vector3 mDirection;
|
|
Vector3 mLightAttenuation;
|
|
Ray(const Vector3& origin, const Vector3& direction, Vector3& attenuation);
|
|
void Set(const Vector3& origin, const Vector3& direction, Vector3& attenuation);
|
|
Vector3 PointAt(float k);
|
|
};
|