/dports/games/pioneer/pioneer-20210723/src/terrain/ |
H A D | TerrainColorRock2.cpp | 36 n -= 0.9; in GetColor() 38 col = interpolate_color(n, m_rockColor[5], col); in GetColor() 44 col = interpolate_color(n, col, m_rockColor[5]); in GetColor() 50 col = interpolate_color(n, m_rockColor[4], col); in GetColor() 56 col = interpolate_color(n, m_rockColor[0], m_rockColor[4]); in GetColor() 62 col = interpolate_color(n, col, m_rockColor[0]); in GetColor() 68 col = interpolate_color(n, m_darkrockColor[3], col); in GetColor() 75 col = interpolate_color(n, col, m_darkrockColor[3]); in GetColor() 81 col = interpolate_color(n, m_rockColor[1], col); in GetColor() 87 col = interpolate_color(n, col, m_rockColor[1]); in GetColor() [all …]
|
H A D | TerrainColorRock.cpp | 37 n -= 0.9; in GetColor() 39 col = interpolate_color(n, m_rockColor[5], col); in GetColor() 47 col = interpolate_color(n, col, m_rockColor[5]); in GetColor() 55 col = interpolate_color(n, m_rockColor[4], col); in GetColor() 63 col = interpolate_color(n, m_rockColor[1], m_rockColor[4]); in GetColor() 71 col = interpolate_color(n, col, m_rockColor[1]); in GetColor() 79 col = interpolate_color(n, m_darkrockColor[3], col); in GetColor() 88 col = interpolate_color(n, col, m_darkrockColor[3]); in GetColor() 96 col = interpolate_color(n, m_rockColor[1], col); in GetColor() 104 col = interpolate_color(n, col, m_rockColor[1]); in GetColor() [all …]
|
H A D | TerrainColorGGJupiter.cpp | 53 col = interpolate_color(n, col, m_ggdarkColor[7]); in GetColor() 58 col = interpolate_color(n, m_gglightColor[4], col); in GetColor() 72 col = interpolate_color(n, col, m_ggdarkColor[2]); in GetColor() 93 col = interpolate_color(n, col, m_ggdarkColor[7]); in GetColor() 98 col = interpolate_color(n, m_gglightColor[4], col); in GetColor() 112 col = interpolate_color(n, col, m_ggdarkColor[2]); in GetColor() 133 col = interpolate_color(n, col, m_ggdarkColor[7]); in GetColor() 138 col = interpolate_color(n, m_gglightColor[4], col); in GetColor() 152 col = interpolate_color(n, col, m_ggdarkColor[2]); in GetColor() 167 col = interpolate_color(n, col, m_gglightColor[2]); in GetColor() [all …]
|
H A D | TerrainColorEarthLike.cpp | 57 n *= n * 10.0; in GetColor() 60 col = interpolate_color(n, col, vector3d(0, 0.8, 0.6)); in GetColor() 66 n -= 0.5; in GetColor() 67 n *= 2.0; in GetColor() 70 col = interpolate_color(n, col, m_darkrockColor[6]); in GetColor() 77 n *= 4.0; in GetColor() 80 col = interpolate_color(n, col, m_rockColor[2]); in GetColor() 90 col = interpolate_color(n, col, m_darkrockColor[3]); in GetColor() 100 col = interpolate_color(n, col, m_darkplantColor[2]); in GetColor() 110 col = interpolate_color(n, col, m_plantColor[0]); in GetColor() [all …]
|
H A D | TerrainColorEarthLikeHeightmapped.cpp | 54 n *= 0.1; in GetColor() 56 col = interpolate_color(n, col, vector3d(0, 0.8, 0.6)); in GetColor() 62 n -= 0.5; in GetColor() 63 n *= 2.0; in GetColor() 66 col = interpolate_color(n, col, m_darkrockColor[6]); in GetColor() 73 n *= 4.0; in GetColor() 76 col = interpolate_color(n, col, m_rockColor[2]); in GetColor() 86 col = interpolate_color(n, col, m_darkrockColor[3]); in GetColor() 96 col = interpolate_color(n, col, m_darkplantColor[2]); in GetColor() 106 col = interpolate_color(n, col, m_plantColor[0]); in GetColor() [all …]
|
H A D | TerrainColorTFPoor.cpp | 49 n *= n * 10.0; in GetColor() 51 col = interpolate_color(n, vector3d(0, 0.0, 0.1), vector3d(0, 0.5, 0.5)); in GetColor() 56 n -= 0.5; in GetColor() 57 n *= 2.0; in GetColor() 60 col = interpolate_color(n, col, m_darkrockColor[6]); in GetColor() 67 n *= 4.0; in GetColor() 70 col = interpolate_color(n, col, m_rockColor[2]); in GetColor() 81 col = interpolate_color(n, col, m_darkrockColor[3]); in GetColor() 91 col = interpolate_color(n, col, m_darksandColor[2]); in GetColor() 101 col = interpolate_color(n, col, m_plantColor[0]); in GetColor() [all …]
|
H A D | TerrainColorTFGood.cpp | 43 if (n <= 0) { in GetColor() 46 n *= 10.0; in GetColor() 47 n = (n > 0.3 ? 0.3 - (n * n * n - 0.027) : n); in GetColor() 49 col = interpolate_color(n, col, vector3d(0, 0.8, 0.6)); in GetColor() 55 if (n > 0.5) { in GetColor() 57 col = interpolate_color(n, col, m_darkrockColor[6]); in GetColor() 63 col = interpolate_color(n, col, m_rockColor[1]); in GetColor() 70 col = interpolate_color(n, col, vector3d(-1.66, -2.3, -1.75)); in GetColor() 76 col = interpolate_color(n, col, vector3d(5, -5, 5)); in GetColor() 82 col = interpolate_color(n, col, vector3d(-10, -10, 0)); in GetColor() [all …]
|
H A D | TerrainColorGGNeptune2.cpp | 33 vector3d col; in GetColor() local 50 col = interpolate_color(n, col, m_ggdarkColor[2]); in GetColor() 51 return col; in GetColor() 55 col = interpolate_color(n, vector3d(.03, .03, .15), col); in GetColor() 60 col = interpolate_color(n, vector3d(.0, .0, .05), vector3d(.03, .03, .15)); in GetColor() 65 col = interpolate_color(n, m_ggdarkColor[2], vector3d(.0, .0, .05)); in GetColor() 69 col = interpolate_color(n, col, m_ggdarkColor[2]); in GetColor() 86 col = interpolate_color(n, col, m_ggdarkColor[2]); in GetColor() 87 return col; in GetColor() 90 col = interpolate_color(n, vector3d(.0, .0, .0), col); in GetColor() [all …]
|
H A D | TerrainColorDesert.cpp | 21 double n = m_invMaxHeight * height / 2; in GetColor() local 25 if (fabs(m_icyness * p.y) + m_icyness * n > 1) { in GetColor() 31 if (n > .4) { in GetColor() 32 n = n * n; in GetColor() 34 col = interpolate_color(n, col, vector3d(.1, .0, .0)); in GetColor() 37 } else if (n > .3) { in GetColor() 38 n = n * n; in GetColor() 40 col = interpolate_color(n, col, vector3d(-1.2, -.84, .35)); in GetColor() 43 } else if (n > .2) { in GetColor() 45 col = interpolate_color(n, col, vector3d(4, 3.95, 3.94)); in GetColor() [all …]
|
H A D | TerrainColorIce.cpp | 21 double n = m_invMaxHeight * height; in GetColor() local 42 if (n > .666) { in GetColor() 43 n -= 0.666; in GetColor() 44 n *= 3.0; in GetColor() 45 col = interpolate_color(n, vector3d(.96, .95, .94), col); in GetColor() 48 } else if (n > 0.333) { in GetColor() 49 n -= 0.333; in GetColor() 50 n *= 3.0; in GetColor() 51 col = interpolate_color(n, col, vector3d(.96, .95, .94)); in GetColor() 55 n *= 3.0; in GetColor() [all …]
|
/dports/www/libdom/libdom-0.4.1/src/html/ |
H A D | html_collection.c | 163 struct dom_node_internal *n = col->root; in dom_html_collection_item() local 168 col->ic(n, col->ctx) == true) in dom_html_collection_item() 181 n = n->next; in dom_html_collection_item() 186 while (n != col->root && in dom_html_collection_item() 192 if (n == col->root) in dom_html_collection_item() 195 n = n->next; in dom_html_collection_item() 215 struct dom_node_internal *n = col->root; in dom_html_collection_named_item() local 221 col->ic(n, col->ctx) == true) { in dom_html_collection_named_item() 263 n = n->next; in dom_html_collection_named_item() 268 while (n != col->root && in dom_html_collection_named_item() [all …]
|
H A D | html_options_collection.c | 145 struct dom_node_internal *n = col->base.root; in dom_html_options_collection_named_item() local 160 while (n != NULL) { in dom_html_options_collection_named_item() 162 col->base.ic(n, col->base.ctx) == true) { in dom_html_options_collection_named_item() 173 dom_node_ref(n); in dom_html_options_collection_named_item() 186 n = n->first_child; in dom_html_options_collection_named_item() 188 n = n->next; in dom_html_options_collection_named_item() 193 while (n != col->base.root && in dom_html_options_collection_named_item() 195 n = parent; in dom_html_options_collection_named_item() 199 if (n == col->base.root) in dom_html_options_collection_named_item() 200 n = NULL; in dom_html_options_collection_named_item() [all …]
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/util/ |
H A D | util_math_matrix.h | 49 MAT(A, n, row, col) = 0.0f; in math_matrix_zero() 135 MAT(A, n, row, col) += v[row] * v[col] * weight; in math_matrix_add_gramian() 233 for (int col = row + 1; col < n; col++) in math_trimatrix_vec3_solve() local 255 for (int col = 0; col < n; col++) { in math_matrix_jacobi_eigendecomposition() local 256 MATS(V, n, row, col, v_stride) = (col == row) ? 1.0f : 0.0f; in math_matrix_jacobi_eigendecomposition() 288 MAT(A, n, row, col) = 0.0f; in math_matrix_jacobi_eigendecomposition() 307 float singular_diff = MAT(A, n, row, row) - MAT(A, n, col, col); in math_matrix_jacobi_eigendecomposition() 328 MAT(A, n, col, col) -= singular_delta; in math_matrix_jacobi_eigendecomposition() 331 MAT(A, n, row, col) = 0.0f; in math_matrix_jacobi_eigendecomposition() 408 MAT(A, n, row, col) = MAT(A, n, row, col) + v[row] * v[col] * weight; in math_matrix_add_gramian_sse() [all …]
|
/dports/audio/ocp/ocp-0.2.90/playhvl/ |
H A D | hvlpinst.c | 35 char col=plInstMode?0x07:"\x08\x08\x0B\x0A"[(unsigned)plInstUsed[n]]; 37 writenum (buf, 1, col, n+1, 16, 2, 0); 38 writestring (buf, 5, col, ht->ht_Instruments[n].ins_Name, 35); 46 writenum (buf, 1, col, n+1, 16, 2, 0); 47 writestring (buf, 5, col, ht->ht_Instruments[n].ins_Name, 28); 54 writenum (buf, 5, col, n+1, 16, 2, 0); 55 writestring (buf, 9, col, ht->ht_Instruments[n].ins_Name, 43); 64 col = plInstMode?0x07:"\x08\x08\x0B\x0A"[(unsigned)plInstUsed[n]]; 67 writestring (buf, 5, col, ht->ht_Instruments[n].ins_Name, 50); 81 col = plInstMode?0x07:"\x08\x08\x0B\x0A"[(unsigned)plInstUsed[n]]; [all …]
|
/dports/audio/ocp/ocp-0.2.90/playxm/ |
H A D | xmpinst.c | 50 char col=plInstMode?0x07:"\x08\x08\x0B\x0A"[(unsigned)plInstUsed[n]]; in xmpDisplayIns40() local 52 writenum(buf, 1, col, n+1, 16, 2, 0); in xmpDisplayIns40() 53 writestring(buf, 5, col, plInstr[n].name, 35); in xmpDisplayIns40() 60 writenum(buf, 1, col, n+1, 16, 2, 0); in xmpDisplayIns33() 61 writestring(buf, 5, col, plInstr[n].name, 28); in xmpDisplayIns33() 68 writenum(buf, 5, col, n+1, 16, 2, 0); in xmpDisplayIns52() 69 writestring(buf, 9, col, plInstr[n].name, 43); in xmpDisplayIns52() 82 writenum(buf, 1, col, plBigInstNum[n]+1, 16, 2, 0); in xmpDisplayIns80() 93 writenum(buf, 35, col, plBigSampNum[n], 16, 3, 0); in xmpDisplayIns80() 145 writenum(buf, 1, col, plBigInstNum[n]+1, 16, 2, 0); in xmpDisplayIns132() [all …]
|
/dports/audio/ocp/ocp-0.2.90/playgmd/ |
H A D | gmdpinst.c | 52 char col=plInstMode?0x07:"\x08\x08\x0B\x0A"[(unsigned)plInstUsed[n]]; in gmdDisplayIns40() local 54 writenum(buf, 1, col, n+1, 16, 2, 0); in gmdDisplayIns40() 55 writestring(buf, 5, col, plInstr[n].name, 35); in gmdDisplayIns40() 62 writenum(buf, 1, col, n+1, 16, 2, 0); in gmdDisplayIns33() 63 writestring(buf, 5, col, plInstr[n].name, 28); in gmdDisplayIns33() 70 writenum(buf, 5, col, n+1, 16, 2, 0); in gmdDisplayIns52() 71 writestring(buf, 9, col, plInstr[n].name, 43); in gmdDisplayIns52() 83 writenum(buf, 1, col, plBigInstNum[n]+1, 16, 2, 0); in gmdDisplayIns80() 93 writenum(buf, 35, col, plBigSampNum[n], 16, 3, 0); in gmdDisplayIns80() 148 writenum(buf, 1, col, plBigInstNum[n]+1, 16, 2, 0); in gmdDisplayIns132() [all …]
|
/dports/games/d2x/d2x-0.2.5/unused/bios/ |
H A D | mono.c | 52 void scroll( short n ); 113 scroll(n); in mputc() 120 void mputc_at( short n, short row, short col, char c ) in mputc_at() argument 127 mputc( n, c ); in mputc_at() 206 void mprintf_at( short n, short row, short col, char * format, ... ) in mprintf_at() argument 280 void mclose(short n) in mclose() argument 319 void mopen( short n, short row, short col, short width, short height, char * title ) in mopen() argument 341 drawbox(n); in mopen() 363 short n; in minit() local 376 n=0; in minit() [all …]
|
/dports/games/d2x/d2x-0.2.5/unused/win95/ |
H A D | mono.c | 119 scroll(n); in mputc() 126 void mputc_at( short n, short row, short col, char c ) in mputc_at() argument 133 mputc( n, c ); in mputc_at() 212 void mprintf_at( short n, short row, short col, char * format, ... ) in mprintf_at() argument 286 void mclose(short n) in mclose() argument 325 void mopen( short n, short row, short col, short width, short height, char * title ) in mopen() argument 347 drawbox(n); in mopen() 369 short n; in minit() local 374 for (n=0; n<MAX_NUM_WINDOWS; n++ ) { in minit() 393 n=0; in minit() [all …]
|
/dports/games/d2x/d2x-0.2.5/arch/dos/ |
H A D | mono.c | 174 scroll(n); in mputc() 181 void mputc_at( short n, short row, short col, char c ) in mputc_at() argument 188 mputc( n, c ); in mputc_at() 273 mputc( n, *ptr++ ); in _mprintf() 277 void _mprintf_at( short n, short row, short col, char * format, ... ) in _mprintf_at() argument 351 void mclose(short n) in mclose() argument 390 void mopen( short n, short row, short col, short width, short height, char * title ) in mopen() argument 412 drawbox(n); in mopen() 437 short n; in minit() local 450 n=0; in minit() [all …]
|
/dports/audio/ocp/ocp-0.2.90/playit/ |
H A D | itpinst.c | 53 char col=plInstMode?0x07:"\x08\x08\x0B\x0A"[plInstUsed[n]]; 55 writenum(buf, 1, col, n+1, 16, 2, 0); 56 writestring(buf, 5, col, plInstr[n].name, 35); 63 writenum(buf, 1, col, n+1, 16, 2, 0); 64 writestring(buf, 5, col, plInstr[n].name, 28); 71 writenum(buf, 5, col, n+1, 16, 2, 0); 72 writestring(buf, 9, col, plInstr[n].name, 43); 85 writenum(buf, 1, col, plBigInstNum[n]+1, 16, 2, 0); 96 writenum(buf, 35, col, plBigSampNum[n], 16, 3, 0); 148 writenum(buf, 1, col, plBigInstNum[n]+1, 16, 2, 0); [all …]
|
/dports/math/alberta/alberta3-920315ae1bbfd1b1fb6672d916619ac37a411e95/alberta_util/src/ |
H A D | gausselim.c | 57 for (col = i; col < n; col++) { in square_gauss() 59 max = fabs(M[row*n+col]); in square_gauss() 76 for (col = i+1; col < n; col++) { in square_gauss() 77 M[row*n + col] -= M[i*n + col] * factor; in square_gauss() 81 b[col*n + row] -= b[col*n + i] * factor; in square_gauss() 92 x[col*n + perm[row]] = b[col * n + row]; in square_gauss() 94 x[col*n + perm[row]] -= M[row*n+i]*x[col*n + perm[i]]; in square_gauss() 96 x[col*n + perm[row]] /= M[row*n+row]; in square_gauss() 109 for (col = 0; col < n; col++) { in swap_rows() 116 b[col*n + r1] = b[col*n + r2]; in swap_rows() [all …]
|
/dports/devel/vexcl/vexcl-1.4.3/tests/ |
H A D | spmv.cpp | 18 random_matrix(n, n, 16, row, col, val); in BOOST_AUTO_TEST_CASE() 97 random_matrix(n, n, 16, row, col, val); in BOOST_AUTO_TEST_CASE() 167 col[1] = -static_cast<int>(n * n); in BOOST_AUTO_TEST_CASE() 172 col[6] = n; in BOOST_AUTO_TEST_CASE() 173 col[7] = (n * n); in BOOST_AUTO_TEST_CASE() 367 col[1] = -static_cast<int>(n * n); in BOOST_AUTO_TEST_CASE() 372 col[6] = n; in BOOST_AUTO_TEST_CASE() 373 col[7] = (n * n); in BOOST_AUTO_TEST_CASE() 492 col[1] = -static_cast<int>(n * n); in BOOST_AUTO_TEST_CASE() 497 col[6] = n; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/generic/ |
H A D | gridsel.cpp | 104 if ( col == m_colSelection[n] ) in IsInSelection() 291 if ( BlockContainsCell( 0, col, m_grid->GetNumberRows() - 1, col, in SelectCol() 310 if ( coords1.GetCol() == col && col == coords2.GetCol() ) in SelectCol() 321 if ( coords1.GetCol() <= col && col <= coords2.GetCol() ) in SelectCol() 344 if ( col == m_colSelection[n] ) in SelectCol() 460 int col = m_colSelection[n]; in SelectBlock() local 461 if( (col >= leftCol) && (col <= rightCol) ) in SelectBlock() 468 for ( int col = leftCol; col <= rightCol; col++ ) in SelectBlock() local 785 if ( m_colSelection[n] == col ) in ToggleCellSelection() 796 SelectBlockNoEvent(0, col, row - 1, col); in ToggleCellSelection() [all …]
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/generic/ |
H A D | gridsel.cpp | 104 if ( col == m_colSelection[n] ) in IsInSelection() 291 if ( BlockContainsCell( 0, col, m_grid->GetNumberRows() - 1, col, in SelectCol() 310 if ( coords1.GetCol() == col && col == coords2.GetCol() ) in SelectCol() 321 if ( coords1.GetCol() <= col && col <= coords2.GetCol() ) in SelectCol() 344 if ( col == m_colSelection[n] ) in SelectCol() 460 int col = m_colSelection[n]; in SelectBlock() local 461 if( (col >= leftCol) && (col <= rightCol) ) in SelectBlock() 468 for ( int col = leftCol; col <= rightCol; col++ ) in SelectBlock() local 785 if ( m_colSelection[n] == col ) in ToggleCellSelection() 796 SelectBlockNoEvent(0, col, row - 1, col); in ToggleCellSelection() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/ |
H A D | pnmtosir.c | 27 unsigned int n; in main() local 81 for (n = 0; n < 10; n++) in main() 83 for (n = 10; n < 256; n++) in main() 92 for (n = 0; n < 5; ++n) in main() 94 for (n = 5; n < 256; ++n) in main() 97 for (n = 0; n < 3; ++n) { in main() 102 for (n = 0; n < 1024; ++n) in main() 111 for (col = 0; col < cols; ++col) { in main() 119 for (col = 0; col < cols; ++col) { in main() 127 for (col = 0; col < cols; ++col) { in main() [all …]
|