예제 #1
0
파일: FFT.cs 프로젝트: vr3d/GodComplex
 public void FillInputSpatial(SetValueSpatialDelegate _SetValue)
 {
     m_InputIsSpatial = true;
     for (int Y = 0; Y < m_Height; Y++)
     {
         for (int X = 0; X < m_Width; X++)
         {
             _SetValue(X, Y, out m_UserInput[2 * (m_Width * Y + X) + 0], out m_UserInput[2 * (m_Width * Y + X) + 1]);
         }
     }
 }
예제 #2
0
파일: FFT.cs 프로젝트: Patapom/GodComplex
 public void FillInputSpatial( SetValueSpatialDelegate _SetValue )
 {
     m_InputIsSpatial = true;
     for ( int Y=0; Y < m_Height; Y++ )
         for ( int X=0; X < m_Width; X++ )
             _SetValue( X, Y, out m_UserInput[2*(m_Width*Y+X)+0], out m_UserInput[2*(m_Width*Y+X)+1] );
 }