DayZ 1.28
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Blend()

T Blend2D< Class T >::Blend ( float posX,
float posY )
inlineprivate

См. определение в файле Blend2D.c строка 48

49 {
50 vector samplePosition = Vector(posX, posY, 0);
51 Math3D.BlendCartesian(samplePosition, m_Positions, m_Weights);
52
53 T result;
54 int numValues = m_Values.Count();
55 for (int v = 0; v < numValues; ++v)
56 {
57 result += (m_Values[v] * m_Weights[v]);
58 }
59
60 return result;
61 }
ref array< T > m_Values
Определения Blend2D.c:8
ref array< vector > m_Positions
Определения Blend2D.c:7
ref array< float > m_Weights
Определения Blend2D.c:9
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

Перекрестные ссылки Math3D::BlendCartesian(), m_Positions, m_Values, m_Weights и Vector().