Rendering/CM2Light: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Created page with "=== CM2Light::SetDirection === <syntaxhighlight lang="cpp"> void __thiscall CM2Light::SetDirection(CM2Light *this, const C3Vector& dir) { this->m_dir = *dir; C3Vector::...")
 
Line 2: Line 2:


<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
void __thiscall CM2Light::SetDirection(CM2Light *this, const C3Vector& dir) {
void __thiscall CM2Light::SetDirection(CM2Light *this, const C3Vector &dir) {


   this->m_dir = *dir;
   this->m_dir = *dir;

Revision as of 18:48, 27 August 2017

CM2Light::SetDirection

void __thiscall CM2Light::SetDirection(CM2Light *this, const C3Vector &dir) {

  this->m_dir = *dir;

  C3Vector::normalize(this->m_dir);

}