/dports/devel/tbb/oneTBB-2020.3/examples/parallel_for/tachyon/src/ |
H A D | camera.cpp | 58 ray ray1, newray; in camray() local 97 newray.o=scene->camcent; in camray() 98 VSub(&projpixel, &scene->camcent, &newray.d); in camray() 99 newray.depth = scene->raydepth; in camray() 100 newray.flags = RT_RAY_REGULAR; /* camera only generates primary rays */ in camray() 102 return newray; in camray()
|
H A D | bndbox.cpp | 107 ray newray; in bndbox_intersect() local 166 newray=*ry; in bndbox_intersect() 167 newray.flags |= RT_RAY_BOUNDED; in bndbox_intersect() 169 RAYPNT(newray.s , (*ry) , tnear); in bndbox_intersect() 170 RAYPNT(newray.e , (*ry) , (tfar + EPSILON)); in bndbox_intersect() 174 obj->methods->intersect(obj, &newray); in bndbox_intersect()
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/parallel_for/tachyon/src/ |
H A D | camera.cpp | 58 ray ray1, newray; in camray() local 97 newray.o=scene->camcent; in camray() 98 VSub(&projpixel, &scene->camcent, &newray.d); in camray() 99 newray.depth = scene->raydepth; in camray() 100 newray.flags = RT_RAY_REGULAR; /* camera only generates primary rays */ in camray() 102 return newray; in camray()
|
H A D | bndbox.cpp | 107 ray newray; in bndbox_intersect() local 166 newray=*ry; in bndbox_intersect() 167 newray.flags |= RT_RAY_BOUNDED; in bndbox_intersect() 169 RAYPNT(newray.s , (*ry) , tnear); in bndbox_intersect() 170 RAYPNT(newray.e , (*ry) , (tfar + EPSILON)); in bndbox_intersect() 174 obj->methods->intersect(obj, &newray); in bndbox_intersect()
|
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_for/tachyon/src/ |
H A D | camera.cpp | 58 ray ray1, newray; in camray() local 97 newray.o = scene->camcent; in camray() 98 VSub(&projpixel, &scene->camcent, &newray.d); in camray() 99 newray.depth = scene->raydepth; in camray() 100 newray.flags = RT_RAY_REGULAR; /* camera only generates primary rays */ in camray() 102 return newray; in camray()
|
H A D | bndbox.cpp | 101 ray newray; in bndbox_intersect() local 192 newray = *ry; in bndbox_intersect() 193 newray.flags |= RT_RAY_BOUNDED; in bndbox_intersect() 195 RAYPNT(newray.s, (*ry), tnear); in bndbox_intersect() 196 RAYPNT(newray.e, (*ry), (tfar + EPSILON)); in bndbox_intersect() 200 obj->methods->intersect(obj, &newray); in bndbox_intersect()
|
/dports/graphics/rayshade/rayshade.4.0/libray/liblight/ |
H A D | extended.c | 69 Ray newray; local 77 newray = *ray; 97 VecComb(upos, Uaxis, vpos, Vaxis, &newray.dir); 98 VecAdd(ldir, newray.dir, &newray.dir); 99 lightdist = VecNormalize(&newray.dir); 101 return !Shadowed(color, lcolor, cache, &newray,
|
/dports/graphics/rayshade/rayshade.4.0/libshade/ |
H A D | shade.c | 176 Ray newray; local 179 newray.pos = *pos; 180 newray.depth = depth; 181 newray.sample = samp; 182 newray.time = time; 183 newray.media = (Medium *)NULL; 187 costheta = dotp(&newray.dir, norm); 190 cosalpha = dotp(&newray.dir, gnorm); 212 if (!LightIntens(lp, &newray, dist, 220 if (!LightIntens(lp, &newray, dist, [all …]
|
/dports/graphics/rayshade/rayshade.4.0/libray/libobj/ |
H A D | intersect.c | 43 Ray newray; local 62 newray = *ray; 87 distfact *= RayTransform(&newray, &curtrans->itrans); 104 (obj->obj, &newray, hitlist, nmindist, &nmaxdist)) 111 (obj->obj, &newray, nmindist, &nmaxdist)) 119 AddToHitList(hitlist, &newray, nmindist, nmaxdist, obj);
|
H A D | cylinder.c | 89 Ray newray; local 98 newray = *ray; 99 distfact = RayTransform(&newray, &cyl->trans.itrans); 100 nray = newray.dir; 101 npos = newray.pos;
|
H A D | cone.c | 135 Ray newray; local 144 newray = *ray; 145 distfact = RayTransform(&newray, &cone->trans.itrans); 146 nray = newray.dir; 147 npos = newray.pos;
|
/dports/math/polymake/polymake-4.5/bundled/atint/apps/tropical/include/ |
H A D | pruefer.h | 105 Vector<Rational> newray(br_cols); in complex_from_prueferSequences() 112 if (newrayindex < newray.dim()) { in complex_from_prueferSequences() 113 newray[newrayindex] = -1; in complex_from_prueferSequences() 115 newray += onlyones; in complex_from_prueferSequences() 119 bergman_rays /= newray; in complex_from_prueferSequences()
|
H A D | psi_classes.h | 218 Vector<Rational> newray( (n*(n-3))/2 + 1); in psi_product() 244 newray.fill(0); in psi_product() 248 newray[ E(smaller_index,larger_index)] = Addition::orientation(); in psi_product() 254 if (rays.row(oray) == newray) { in psi_product() 259 rays /= newray; in psi_product()
|
/dports/math/polymake/polymake-4.5/bundled/atint/apps/tropical/src/ |
H A D | moduli_rational.cc | 275 Vector<Rational> newray(raydim); // Container for new rays in m0n() local 363 newray.fill(0); in m0n() 369 newray[newrayindex] = Addition::orientation(); in m0n() 371 rays.row(rIndex) = newray; in m0n()
|
H A D | moduli_rational_local.cc | 247 Vector<Rational> newray(bergman_rays.cols()); in local_m0n() local 251 newray[newrayindex] = Addition::orientation(); in local_m0n() 254 bergman_rays.row(r) = newray; in local_m0n()
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | los.cc | 185 static bool _is_same_ray(los_ray ray, vector<coord_def> newray) in _is_same_ray() argument 187 if (ray.length != newray.size()) in _is_same_ray() 190 if (ray[i] != newray[i]) in _is_same_ray() 196 static bool _is_duplicate_ray(vector<coord_def> newray) in _is_duplicate_ray() argument 199 if (_is_same_ray(lray, newray)) in _is_duplicate_ray()
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/render/ |
H A D | trace.cpp | 1897 Ray newray(lightsourceray); in TraceShadowRay() local 1903 newray.SetFlags(Ray::OtherRay, true, false); in TraceShadowRay() 1907 TraceAreaLightShadowRay(lightsource, newdepth, newray, point, colour); in TraceShadowRay() 1909 TracePointLightShadowRay(lightsource, newdepth, newray, colour); in TraceShadowRay() 1918 …ComputeShadowMedia(newray, isect, colour, (lightsource.Media_Interaction) && (lightsource.Media_At… in TraceShadowRay()
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/render/ |
H A D | trace.cpp | 1842 Ray newray(lightsourceray); in TraceShadowRay() local 1848 newray.SetFlags(Ray::OtherRay, true, false); in TraceShadowRay() 1852 TraceAreaLightShadowRay(lightsource, newdepth, newray, point, colour, ticket); in TraceShadowRay() 1854 TracePointLightShadowRay(lightsource, newdepth, newray, colour, ticket); in TraceShadowRay() 1863 …ComputeShadowMedia(newray, isect, colour, (lightsource.Media_Interaction) && (lightsource.Media_At… in TraceShadowRay()
|