Rendering/CM2Light

From wowdev
Revision as of 18:46, 27 August 2017 by Fallenoak (talk | contribs) (Created page with "=== CM2Light::SetDirection === <syntaxhighlight lang="cpp"> void __thiscall CM2Light::SetDirection(CM2Light *this, const C3Vector& dir) { this->m_dir = *dir; C3Vector::...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CM2Light::SetDirection

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

  this->m_dir = *dir;

  C3Vector::normalize(this->m_dir);

}