/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/ |
H A D | vtkUnstructuredGridPartialPreIntegration.cxx | 430 double nearcolor[4] = { 0.0, 0.0, 0.0, 0.0 }; in Integrate() local 454 if (c[3] + nearcolor[3] > 1.0e-8f) in Integrate() 456 nearcolor[0] *= nearcolor[3] / (c[3] + nearcolor[3]); in Integrate() 457 nearcolor[1] *= nearcolor[3] / (c[3] + nearcolor[3]); in Integrate() 458 nearcolor[2] *= nearcolor[3] / (c[3] + nearcolor[3]); in Integrate() 459 nearcolor[0] += c[0] * c[3] / (c[3] + nearcolor[3]); in Integrate() 460 nearcolor[1] += c[1] * c[3] / (c[3] + nearcolor[3]); in Integrate() 461 nearcolor[2] += c[2] * c[3] / (c[3] + nearcolor[3]); in Integrate() 462 nearcolor[3] += c[3]; in Integrate() 487 this->IntegrateRay(length, nearcolor, nearcolor[3], farcolor, farcolor[3], color); in Integrate() [all …]
|
H A D | vtkUnstructuredGridLinearRayIntegrator.cxx | 438 double nearcolor[4] = { 0.0, 0.0, 0.0, 0.0 }; in Integrate() local 462 if (c[3] + nearcolor[3] > 1.0e-8f) in Integrate() 464 nearcolor[0] *= nearcolor[3] / (c[3] + nearcolor[3]); in Integrate() 465 nearcolor[1] *= nearcolor[3] / (c[3] + nearcolor[3]); in Integrate() 466 nearcolor[2] *= nearcolor[3] / (c[3] + nearcolor[3]); in Integrate() 467 nearcolor[0] += c[0] * c[3] / (c[3] + nearcolor[3]); in Integrate() 468 nearcolor[1] += c[1] * c[3] / (c[3] + nearcolor[3]); in Integrate() 469 nearcolor[2] += c[2] * c[3] / (c[3] + nearcolor[3]); in Integrate() 470 nearcolor[3] += c[3]; in Integrate() 496 length, nearcolor, nearcolor[3], farcolor, farcolor[3], color); in Integrate() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/ |
H A D | vtkUnstructuredGridPartialPreIntegration.cxx | 449 double nearcolor[4] = {0.0, 0.0, 0.0, 0.0}; in Integrate() local 474 if (c[3] + nearcolor[3] > 1.0e-8f) in Integrate() 476 nearcolor[0] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 477 nearcolor[1] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 478 nearcolor[2] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 479 nearcolor[0] += c[0]*c[3]/(c[3] + nearcolor[3]); in Integrate() 480 nearcolor[1] += c[1]*c[3]/(c[3] + nearcolor[3]); in Integrate() 481 nearcolor[2] += c[2]*c[3]/(c[3] + nearcolor[3]); in Integrate() 482 nearcolor[3] += c[3]; in Integrate() 508 this->IntegrateRay(length, nearcolor, nearcolor[3], in Integrate() [all …]
|
H A D | vtkUnstructuredGridLinearRayIntegrator.cxx | 477 if (c[3] + nearcolor[3] > 1.0e-8f) in Integrate() 479 nearcolor[0] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 480 nearcolor[1] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 481 nearcolor[2] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 482 nearcolor[0] += c[0]*c[3]/(c[3] + nearcolor[3]); in Integrate() 483 nearcolor[1] += c[1]*c[3]/(c[3] + nearcolor[3]); in Integrate() 484 nearcolor[2] += c[2]*c[3]/(c[3] + nearcolor[3]); in Integrate() 485 nearcolor[3] += c[3]; in Integrate() 511 this->IntegrateRay(length, nearcolor, nearcolor[3], in Integrate() 530 this->IntegrateRay(length, nearcolor, nearcolor[3]/unitdistance, in Integrate() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/ |
H A D | vtkUnstructuredGridPartialPreIntegration.cxx | 455 double nearcolor[4] = {0.0, 0.0, 0.0, 0.0}; in Integrate() local 480 if (c[3] + nearcolor[3] > 1.0e-8f) in Integrate() 482 nearcolor[0] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 483 nearcolor[1] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 484 nearcolor[2] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 485 nearcolor[0] += c[0]*c[3]/(c[3] + nearcolor[3]); in Integrate() 486 nearcolor[1] += c[1]*c[3]/(c[3] + nearcolor[3]); in Integrate() 487 nearcolor[2] += c[2]*c[3]/(c[3] + nearcolor[3]); in Integrate() 488 nearcolor[3] += c[3]; in Integrate() 514 this->IntegrateRay(length, nearcolor, nearcolor[3], in Integrate() [all …]
|
H A D | vtkUnstructuredGridLinearRayIntegrator.cxx | 476 if (c[3] + nearcolor[3] > 1.0e-8f) in Integrate() 478 nearcolor[0] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 479 nearcolor[1] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 480 nearcolor[2] *= nearcolor[3]/(c[3] + nearcolor[3]); in Integrate() 481 nearcolor[0] += c[0]*c[3]/(c[3] + nearcolor[3]); in Integrate() 482 nearcolor[1] += c[1]*c[3]/(c[3] + nearcolor[3]); in Integrate() 483 nearcolor[2] += c[2]*c[3]/(c[3] + nearcolor[3]); in Integrate() 484 nearcolor[3] += c[3]; in Integrate() 510 this->IntegrateRay(length, nearcolor, nearcolor[3], in Integrate() 529 this->IntegrateRay(length, nearcolor, nearcolor[3]/unitdistance, in Integrate() [all …]
|
/dports/x11/xcolors/xcolors/ |
H A D | xcolors.c | 277 colordemo(parent, startcolor, nearcolor, maxdist) in colordemo() argument 280 XColor nearcolor; /* scaled 0-255 */ 308 if (nearcolor.flags) { 310 sqrt((double)((nearcolor.red-r)*(nearcolor.red-r) 311 + (nearcolor.green-g)*(nearcolor.green-g) 312 + (nearcolor.blue-b)*(nearcolor.blue-b)));
|
/dports/shells/zsh/zsh-5.8.1/Doc/Zsh/ |
H A D | mod_nearcolor.yo | 1 COMMENT(!MOD!zsh/nearcolor 4 The tt(zsh/nearcolor) module replaces colours specified as hex triplets 20 In order to use the tt(zsh/nearcolor) module, it only needs to be 28 loading the tt(zsh/nearcolor) module. For example, the following 32 zmodload zsh/nearcolor) 36 tt(zsh/nearcolor) module.
|
H A D | modlist.yo | 51 item(tt(zsh/nearcolor))( 159 texinode(The zsh/mathfunc Module)(The zsh/nearcolor Module)(The zsh/mapfile Module)(Zsh Modules) 162 texinode(The zsh/nearcolor Module)(The zsh/newuser Module)(The zsh/mathfunc Module)(Zsh Modules) 163 sect(The zsh/nearcolor Module) 165 texinode(The zsh/newuser Module)(The zsh/parameter Module)(The zsh/nearcolor Module)(Zsh Modules)
|
H A D | modmenu.yo | 18 menu(The zsh/nearcolor Module)
|
H A D | manmodmenu.yo | 17 menu(The zsh/nearcolor Module)
|
H A D | zle.yo | 2735 tt(zsh/nearcolor) module (see ifzman(zmanref(zshmodules))\ 2736 ifnzman(noderef(The zsh/nearcolor Module))\
|
/dports/shells/zsh/zsh-5.8.1/Src/Modules/ |
H A D | nearcolor.mdd | 1 name=zsh/nearcolor 5 objects="nearcolor.o"
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/test/ |
H A D | shadexfog.lua | 88 sht[f][i] = engine.nearcolor(nr, ng, nb) 176 local ii = engine.nearcolor(r, g, b) 219 sht[sh][i] = engine.nearcolor(r, g, b) 361 tab[i][j] = engine.nearcolor(rr, gg, bb, lastokcol)
|
/dports/shells/zsh/zsh-5.8.1/Test/ |
H A D | X04zlehighlight.ztst | 109 zpty_input 'zmodload zsh/nearcolor' 145 zpty_input 'zmodload zsh/nearcolor'
|
/dports/shells/zsh/zsh-5.8.1/Doc/ |
H A D | zsh.info | 129 Node: The zsh/nearcolor Module1001780
|
H A D | zsh.info-4 | 2625 zsh/nearcolor 2707 * The zsh/nearcolor Module:: 4121 File: zsh.info, Node: The zsh/mathfunc Module, Next: The zsh/nearcolor Module, Prev: The zsh/map… 4215 File: zsh.info, Node: The zsh/nearcolor Module, Next: The zsh/newuser Module, Prev: The zsh/math… 4217 22.18 The zsh/nearcolor Module 4222 The zsh/nearcolor module replaces colours specified as hex triplets 4238 In order to use the zsh/nearcolor module, it only needs to be loaded. 4246 loading the zsh/nearcolor module. For example, the following checks the 4250 [[ $COLORTERM = *(24bit|truecolor)* ]] || zmodload zsh/nearcolor 4254 zsh/nearcolor module. [all …]
|
H A D | zsh.texi | 236 * The zsh/nearcolor Module:: 18914 @t{zsh/nearcolor} module (see @ref{The zsh/nearcolor Module}). 27252 @item @t{zsh/nearcolor} 27332 * The zsh/nearcolor Module:: 28952 @node The zsh/mathfunc Module, The zsh/nearcolor Module, The zsh/mapfile Module, Zsh Modules 29072 @section The zsh/nearcolor Module 29076 The @t{zsh/nearcolor} module replaces colours specified as hex triplets 29094 In order to use the @t{zsh/nearcolor} module, it only needs to be 29103 loading the @t{zsh/nearcolor} module. For example, the following 29108 [[ $COLORTERM = *(24bit|truecolor)* ]] || zmodload zsh/nearcolor [all …]
|
H A D | zsh.info-3 | 1228 and 256 colour terminals via the zsh/nearcolor module (see *Note 1229 The zsh/nearcolor Module::).
|
H A D | zsh.info-1 | 164 * The zsh/nearcolor Module::
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/ |
H A D | engine.lua | 232 function engine.nearcolor(r, g, b, lastokcol) function
|
/dports/shells/zsh/zsh-5.8.1/ |
H A D | ChangeLog | 1587 * 43829: Src/Modules/nearcolor.c: use double instead of float 1663 * 43805: Src/Modules/nearcolor.c, Src/prompt.c: make nearcolor 1669 * unposted: Src/Modules/nearcolor.c: add usual copyright header 1694 changes and nearcolor module 1696 * 43759: Src/Modules/nearcolor.c, Src/Zle/complist.c, 1701 * 43747: Src/Modules/nearcolor.c, Src/Modules/nearcolor.mdd,
|
H A D | NEWS | 88 highlighting. On 88 and 256 colour terminals, a new zsh/nearcolor module
|