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.
 
 

10 lines
328 B

#pragma once
#include"Vector3.h"
class Ray {
public:
Vector3 mOrigin, mDirection, mLightAttenuation;
Ray() {};
Ray(const Vector3& origin, const Vector3& direction, const Vector3& attenuation);
void Set(const Vector3& origin, const Vector3& direction, const Vector3& attenuation);
Vector3 PointAt(float k) const;
};