28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
|
/************************************************************************************//*!
|
||
|
\file Ray.cxx
|
||
|
\author Tng Kah Wei, kahwei.tng, 390009620
|
||
|
\par email: kahwei.tng\@digipen.edu
|
||
|
\date Oct 20, 2022
|
||
|
\brief Contains the definitions of functions of the Vector2 struct.
|
||
|
|
||
|
Note: This file is written in C++17/CLI.
|
||
|
|
||
|
Copyright (C) 2022 DigiPen Institute of Technology.
|
||
|
Reproduction or disclosure of this file or its contents without the prior written consent
|
||
|
of DigiPen Institute of Technology is prohibited.
|
||
|
*//*************************************************************************************/
|
||
|
// Precompiled Headers
|
||
|
#include "SHpch.h"
|
||
|
// Primary Header
|
||
|
#include "Math/Ray.hxx"
|
||
|
|
||
|
namespace SHADE
|
||
|
{
|
||
|
/*---------------------------------------------------------------------------------*/
|
||
|
/* Constructors */
|
||
|
/*---------------------------------------------------------------------------------*/
|
||
|
Ray::Ray(Vector3 origin, Vector3 direction)
|
||
|
: Origin { origin }
|
||
|
, Direction{ direction }
|
||
|
{}
|
||
|
}
|