Home
last modified time | relevance | path

Searched refs:originPlane (Results 1 – 5 of 5) sorted by relevance

/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/opengl/
H A Dgl21device.cpp1350 float originPlane[6]; in ComputeSphereVisibility() local
1358 originPlane[0] = (m.Get(4, 4) + m.Get(1, 4)) / l1; in ComputeSphereVisibility()
1366 originPlane[1] = (m.Get(4, 4) - m.Get(1, 4)) / l2; in ComputeSphereVisibility()
1374 originPlane[2] = (m.Get(4, 4) + m.Get(2, 4)) / l3; in ComputeSphereVisibility()
1382 originPlane[3] = (m.Get(4, 4) - m.Get(2, 4)) / l4; in ComputeSphereVisibility()
1390 originPlane[4] = (m.Get(4, 4) + m.Get(3, 4)) / l5; in ComputeSphereVisibility()
1398 originPlane[5] = (m.Get(4, 4) - m.Get(3, 4)) / l6; in ComputeSphereVisibility()
1402 if (InPlane(vec[0], originPlane[0], center, radius)) in ComputeSphereVisibility()
1404 if (InPlane(vec[1], originPlane[1], center, radius)) in ComputeSphereVisibility()
1406 if (InPlane(vec[2], originPlane[2], center, radius)) in ComputeSphereVisibility()
[all …]
H A Dgl14device.cpp1532 float originPlane[6]; in ComputeSphereVisibility() local
1540 originPlane[0] = (m.Get(4, 4) + m.Get(1, 4)) / l1; in ComputeSphereVisibility()
1548 originPlane[1] = (m.Get(4, 4) - m.Get(1, 4)) / l2; in ComputeSphereVisibility()
1556 originPlane[2] = (m.Get(4, 4) + m.Get(2, 4)) / l3; in ComputeSphereVisibility()
1564 originPlane[3] = (m.Get(4, 4) - m.Get(2, 4)) / l4; in ComputeSphereVisibility()
1572 originPlane[4] = (m.Get(4, 4) + m.Get(3, 4)) / l5; in ComputeSphereVisibility()
1580 originPlane[5] = (m.Get(4, 4) - m.Get(3, 4)) / l6; in ComputeSphereVisibility()
1584 if (InPlane(vec[0], originPlane[0], center, radius)) in ComputeSphereVisibility()
1586 if (InPlane(vec[1], originPlane[1], center, radius)) in ComputeSphereVisibility()
1588 if (InPlane(vec[2], originPlane[2], center, radius)) in ComputeSphereVisibility()
[all …]
H A Dgl33device.cpp1527 float originPlane[6]; in ComputeSphereVisibility() local
1535 originPlane[0] = (m.Get(4, 4) + m.Get(1, 4)) / l1; in ComputeSphereVisibility()
1543 originPlane[1] = (m.Get(4, 4) - m.Get(1, 4)) / l2; in ComputeSphereVisibility()
1551 originPlane[2] = (m.Get(4, 4) + m.Get(2, 4)) / l3; in ComputeSphereVisibility()
1559 originPlane[3] = (m.Get(4, 4) - m.Get(2, 4)) / l4; in ComputeSphereVisibility()
1567 originPlane[4] = (m.Get(4, 4) + m.Get(3, 4)) / l5; in ComputeSphereVisibility()
1575 originPlane[5] = (m.Get(4, 4) - m.Get(3, 4)) / l6; in ComputeSphereVisibility()
1579 if (InPlane(vec[0], originPlane[0], center, radius)) in ComputeSphereVisibility()
1581 if (InPlane(vec[1], originPlane[1], center, radius)) in ComputeSphereVisibility()
1583 if (InPlane(vec[2], originPlane[2], center, radius)) in ComputeSphereVisibility()
[all …]
H A Dglutil.h90 bool InPlane(Math::Vector normal, float originPlane, Math::Vector center, float radius);
H A Dglutil.cpp422 bool InPlane(Math::Vector normal, float originPlane, Math::Vector center, float radius) in InPlane() argument
424 float distance = originPlane + Math::DotProduct(normal, center); in InPlane()