Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Vec3Int32 Impala::Visualization::VideoMinimap::MergeCol ( Vec3Int32  ca,
Vec3Int32  cb 
) [inline]

Definition at line 293 of file VideoMinimap.h.

References Impala::Core::Array::Element::Vec3Int32::X(), Impala::Core::Array::Element::Vec3Int32::Y(), and Impala::Core::Array::Element::Vec3Int32::Z().

Referenced by SetPoint().

00294     {
00295         int r,g,b;
00296         if (ca.X() > cb.X())  r = ca.X(); else r = cb.X();
00297         if (ca.Y() > cb.Y())  g = ca.Y(); else g = cb.Y();
00298         if (ca.Z() > cb.Z())  b = ca.Z(); else b = cb.Z();
00299         return Vec3Int32(r,g,b);
00300     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:25 2011 for ImpalaSrc by  doxygen 1.5.1