Lines Matching refs:direction
580 math::VEC3 direction(resLight.GetDirection()); in ActivateHemiSphereLight() local
585 &direction, &hemiSphereLight->TrackbackWorldMatrix(), &resLight.GetDirection()); in ActivateHemiSphereLight()
593 math::VEC3TransformNormal(&direction, &viewMatrix, &direction); in ActivateHemiSphereLight()
594 … math::VEC4 directionAndLerp(direction.x, direction.y, direction.z, resLight.GetLerpFactor()); in ActivateHemiSphereLight()
635 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight() local
636 direction.w = 0.0f; in ActivateFragmentLight()
638 this->TransformToViewCoordinate(&direction, &viewMatrix, &direction); in ActivateFragmentLight()
641 GraphicsDevice::ActivateFragmentLightPosition(index, -direction); in ActivateFragmentLight()
642 GraphicsDevice::SetFragmentLightPositionW(index, (direction.w == 0.0f)); in ActivateFragmentLight()
704 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight() local
705 direction.w = 0.0f; in ActivateFragmentLight()
707 this->TransformToViewCoordinate(&direction, &viewMatrix, &direction); in ActivateFragmentLight()
713 math::VEC3 spotDirection(direction); in ActivateFragmentLight()