/dports/graphics/photivo/photivo/Sources/ |
H A D | ptImage_Cimg.cpp | 266 cos_rot = cosf(angle_rot); in ptCIPerspective() local 284 …+m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)+m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective() 285 …-m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)+m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective() 286 …+m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)-m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective() 287 …-m_Width/sc1/2.0f*(sin_hor*cos_ver*cos_rot-sin_ver*sin_rot)-m_Height/sc2/2.0f*(sin_hor*cos_ver*sin… in ptCIPerspective() 295 height1 = (m_Height/sc2/2.0f*cos_hor*cos_rot*r-cos_hor*sin_rot*r*(m_Width/sc1/2.0f))/denom1, in ptCIPerspective() 299 …width1 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_hor… in ptCIPerspective() 300 …width2 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(-m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_ho… in ptCIPerspective() 301 …width3 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_hor… in ptCIPerspective() 302 …width4 = ((cos_ver*sin_rot+sin_hor*sin_ver*cos_rot)*r*(-m_Height/sc2/2.0f)+(cos_ver*cos_rot-sin_ho… in ptCIPerspective() [all …]
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/Renderer/ |
H A D | Transformation.hpp | 41 float cos_rot = cosf(angle); in Rotate() local 44 p.x = u2*cos_rot - v2*sin_rot + cx; in Rotate() 45 p.y = u2*sin_rot + v2*cos_rot + cy; in Rotate()
|
H A D | MilkdropWaveform.cpp | 177 float cos_rot; in WaveformMath() local 307 cos_rot = cosf(context.time*0.3f); in WaveformMath() 315 …wavearray[i][0]=((x0*cos_rot - y0*sin_rot)*scale*0.5*(context.aspectCorrect ? context.aspectRatio … in WaveformMath() 316 wavearray[i][1]=( (x0*sin_rot + y0*cos_rot)*scale*0.5 + temp_y); in WaveformMath()
|
/dports/graphics/libprojectm/projectm-3.1.12/src/libprojectM/Renderer/ |
H A D | Transformation.hpp | 41 float cos_rot = cosf(angle); in Rotate() local 44 p.x = u2*cos_rot - v2*sin_rot + cx; in Rotate() 45 p.y = u2*sin_rot + v2*cos_rot + cy; in Rotate()
|
H A D | MilkdropWaveform.cpp | 205 float cos_rot; in WaveformMath() local 322 cos_rot = cosf(context.time*0.3f); in WaveformMath() 330 …wavearray[i][0]=((x0*cos_rot - y0*sin_rot)*scale*0.5f*(context.aspectCorrect ? context.aspectRatio… in WaveformMath() 331 wavearray[i][1]=( (x0*sin_rot + y0*cos_rot)*scale*0.5f + temp_y); in WaveformMath()
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/support_data/ |
H A D | ossimTiffWorld.cpp | 119 double cos_rot = cos(theComputedRotation); in open() local 120 if (cos_rot != 0.0) in open() 122 theComputedScale.x = theXform1/cos_rot; in open() 123 theComputedScale.y = theXform4/cos_rot; in open()
|
/dports/astro/xplanet/xplanet-1.3.1/src/ |
H A D | View.cpp | 52 const double cos_rot = cos(rotate_angle); in View() local 58 rotate[0][i] = Rx[i] * cos_rot + Ry[i] * sin_rot; in View() 59 rotate[1][i] = -Rx[i] * sin_rot + Ry[i] * cos_rot; in View()
|
/dports/math/fxt/fxt/src/dctdst/ |
H A D | dcth.cc | 74 cos_rot(y, x, n); in dcth() 91 cos_rot(x, y, n); in idcth()
|
H A D | dct4.cc | 63 cos_rot(f, f, n); in dct4() 83 cos_rot(f, f, n); in idct4()
|
H A D | cosrot.cc | 14 cos_rot(const double *x, double *y, ulong n) in cos_rot() function
|
H A D | dctdst.h | 14 void cos_rot(const double *x, double *y, ulong n); // aux
|
/dports/math/plplot/plplot-5.15.0/drivers/ |
H A D | deprecated_wxwidgets_dc.cpp | 346 (wxCoord) ( height - (wxCoord) ( posY + yOffset * cos_rot / scaley ) ), in PSDrawTextToDC() 348 posX += (PLINT) ( w * cos_rot ); in PSDrawTextToDC() 468 cos_rot = cos( rotation ); in ProcessString() 519 …posX = (PLINT) ( args->x / scalex - ( args->just * textWidth ) * cos_rot - ( 0.5 * textHeight - pa… in ProcessString() 520 …( args->just * textWidth ) * sin_rot + ( 0.5 * textHeight - paraHeight * lineSpacing ) * cos_rot ); in ProcessString()
|
H A D | pdf.c | 810 HPDF_REAL cos_rot, sin_rot, cos_shear, sin_shear; 837 cos_rot = (HPDF_REAL) cos( rotation ); 847 HPDF_Page_Concat( dev->page, cos_rot, sin_rot, 848 -cos_rot * sin_shear - sin_rot * cos_shear, 849 -sin_rot * sin_shear + cos_rot * cos_shear,
|
H A D | deprecated_wxwidgets_gc.cpp | 509 cos_rot = cos( rotation ); in ProcessString() 559 cos_rot * stride, -sin_rot * stride, in ProcessString() 560 cos_rot * sin_shear + sin_rot * cos_shear, in ProcessString() 561 -sin_rot * sin_shear + cos_rot * cos_shear, in ProcessString()
|
H A D | svg.c | 572 PLFLT rotation, shear, stride, cos_rot, sin_rot, sin_shear, cos_shear; in proc_str() local 682 cos_rot = cos( rotation ); in proc_str() 686 t[0] = cos_rot * stride; in proc_str() 688 t[2] = cos_rot * sin_shear + sin_rot * cos_shear; in proc_str() 689 t[3] = -sin_rot * sin_shear + cos_rot * cos_shear; in proc_str()
|
/dports/math/plplot-ada/plplot-5.15.0/drivers/ |
H A D | deprecated_wxwidgets_dc.cpp | 346 (wxCoord) ( height - (wxCoord) ( posY + yOffset * cos_rot / scaley ) ), in PSDrawTextToDC() 348 posX += (PLINT) ( w * cos_rot ); in PSDrawTextToDC() 468 cos_rot = cos( rotation ); in ProcessString() 519 …posX = (PLINT) ( args->x / scalex - ( args->just * textWidth ) * cos_rot - ( 0.5 * textHeight - pa… in ProcessString() 520 …( args->just * textWidth ) * sin_rot + ( 0.5 * textHeight - paraHeight * lineSpacing ) * cos_rot ); in ProcessString()
|
H A D | pdf.c | 810 HPDF_REAL cos_rot, sin_rot, cos_shear, sin_shear; in process_string() local 837 cos_rot = (HPDF_REAL) cos( rotation ); in process_string() 847 HPDF_Page_Concat( dev->page, cos_rot, sin_rot, in process_string() 848 -cos_rot * sin_shear - sin_rot * cos_shear, in process_string() 849 -sin_rot * sin_shear + cos_rot * cos_shear, in process_string()
|
H A D | deprecated_wxwidgets_gc.cpp | 509 cos_rot = cos( rotation ); 559 cos_rot * stride, -sin_rot * stride, 560 cos_rot * sin_shear + sin_rot * cos_shear, 561 -sin_rot * sin_shear + cos_rot * cos_shear,
|
H A D | svg.c | 572 PLFLT rotation, shear, stride, cos_rot, sin_rot, sin_shear, cos_shear; in proc_str() local 682 cos_rot = cos( rotation ); in proc_str() 686 t[0] = cos_rot * stride; in proc_str() 688 t[2] = cos_rot * sin_shear + sin_rot * cos_shear; in proc_str() 689 t[3] = -sin_rot * sin_shear + cos_rot * cos_shear; in proc_str()
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/projection/ |
H A D | ossimFcsiModel.cpp | 895 double cos_rot = ossim::cosd(theScanRotation); in updateModel() local 899 double a = theScanScaleMatrix[0]*(sin_rot*tan_skew + cos_rot) + in updateModel() 900 theScanScaleMatrix[1]*(cos_rot*tan_skew - sin_rot); in updateModel() 901 double b = theScanScaleMatrix[0]*sin_rot + theScanScaleMatrix[1]*cos_rot; in updateModel() 902 double c = theScanScaleMatrix[2]*(sin_rot*tan_skew + cos_rot) + in updateModel() 903 theScanScaleMatrix[3]*(cos_rot*tan_skew - sin_rot); in updateModel() 904 double d = theScanScaleMatrix[2]*sin_rot + theScanScaleMatrix[3]*cos_rot; in updateModel()
|
/dports/graphics/libprojectm/projectm-3.1.12/src/libprojectM/MilkdropPresetFactory/ |
H A D | PresetFrameIO.cpp | 228 const float cos_rot = cosf(rot2); in PerPixelMath_c() local 231 this->x_mesh[x][y] = u2 * cos_rot - v2 * sin_rot + this->cx_mesh[x][y] - this->dx_mesh[x][y]; in PerPixelMath_c() 232 this->y_mesh[x][y] = u2 * sin_rot + v2 * cos_rot + this->cy_mesh[x][y] - this->dy_mesh[x][y]; in PerPixelMath_c() 428 __m128 sin_rot, cos_rot; in PerPixelMath_sse() local 429 _mm_sincosf(_mm_load_ps(&this->rot_mesh[x][y]), sin_rot, cos_rot); in PerPixelMath_sse() 434 _mm_sub_ps(_mm_mul_ps(u2, cos_rot), _mm_mul_ps(v2,sin_rot)), in PerPixelMath_sse() 440 _mm_add_ps(_mm_mul_ps(u2, sin_rot), _mm_mul_ps(v2,cos_rot)), in PerPixelMath_sse()
|
/dports/astro/xearth/xearth-1.2/ |
H A D | xearth.h | 150 _c_ = vpi.cos_rot; \ 207 double cos_rot, sin_rot; /* cos/sin of view_rot */ member
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/pds/ |
H A D | pdsdataset.cpp | 667 const double cos_rot = rotation == 90 ? 0.0 : cos(rotation / 180 * M_PI); in ParseSRS() local 668 const double gt_1 = cos_rot * adfGeoTransform[1] - sin_rot * adfGeoTransform[4]; in ParseSRS() 669 const double gt_2 = cos_rot * adfGeoTransform[2] - sin_rot * adfGeoTransform[5]; in ParseSRS() 670 const double gt_0 = cos_rot * adfGeoTransform[0] - sin_rot * adfGeoTransform[3]; in ParseSRS() 671 const double gt_4 = sin_rot * adfGeoTransform[1] + cos_rot * adfGeoTransform[4]; in ParseSRS() 672 const double gt_5 = sin_rot * adfGeoTransform[2] + cos_rot * adfGeoTransform[5]; in ParseSRS() 673 const double gt_3 = sin_rot * adfGeoTransform[0] + cos_rot * adfGeoTransform[3]; in ParseSRS()
|
/dports/graphics/gdal/gdal-3.3.3/frmts/pds/ |
H A D | pdsdataset.cpp | 667 const double cos_rot = rotation == 90 ? 0.0 : cos(rotation / 180 * M_PI); in ParseSRS() local 668 const double gt_1 = cos_rot * adfGeoTransform[1] - sin_rot * adfGeoTransform[4]; in ParseSRS() 669 const double gt_2 = cos_rot * adfGeoTransform[2] - sin_rot * adfGeoTransform[5]; in ParseSRS() 670 const double gt_0 = cos_rot * adfGeoTransform[0] - sin_rot * adfGeoTransform[3]; in ParseSRS() 671 const double gt_4 = sin_rot * adfGeoTransform[1] + cos_rot * adfGeoTransform[4]; in ParseSRS() 672 const double gt_5 = sin_rot * adfGeoTransform[2] + cos_rot * adfGeoTransform[5]; in ParseSRS() 673 const double gt_3 = sin_rot * adfGeoTransform[0] + cos_rot * adfGeoTransform[3]; in ParseSRS()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/pds/ |
H A D | pdsdataset.cpp | 667 const double cos_rot = rotation == 90 ? 0.0 : cos(rotation / 180 * M_PI); in ParseSRS() local 668 const double gt_1 = cos_rot * adfGeoTransform[1] - sin_rot * adfGeoTransform[4]; in ParseSRS() 669 const double gt_2 = cos_rot * adfGeoTransform[2] - sin_rot * adfGeoTransform[5]; in ParseSRS() 670 const double gt_0 = cos_rot * adfGeoTransform[0] - sin_rot * adfGeoTransform[3]; in ParseSRS() 671 const double gt_4 = sin_rot * adfGeoTransform[1] + cos_rot * adfGeoTransform[4]; in ParseSRS() 672 const double gt_5 = sin_rot * adfGeoTransform[2] + cos_rot * adfGeoTransform[5]; in ParseSRS() 673 const double gt_3 = sin_rot * adfGeoTransform[0] + cos_rot * adfGeoTransform[3]; in ParseSRS()
|