mirror of
https://github.com/ConjureETS/LOG750-LAB2.git
synced 2026-03-25 12:01:21 +00:00
Rewah?
This commit is contained in:
parent
c59eb0037f
commit
968f0761a2
@ -661,7 +661,11 @@ void Viewer::visit(Sphere &s)
|
|||||||
|
|
||||||
QVector3D point = QVector3D(1,0,0);
|
QVector3D point = QVector3D(1,0,0);
|
||||||
|
|
||||||
point = modelViewMatrix * point;
|
point = modelViewMatrix * point
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
int pointLocs[3] = {m_point1Loc, m_point2Loc, m_point3Loc};
|
int pointLocs[3] = {m_point1Loc, m_point2Loc, m_point3Loc};
|
||||||
|
|
||||||
std::cout << "Point " << currentPoint << " x:" << point.x() << " y:" << point.y() << " z:" << point.z() << "\n";
|
std::cout << "Point " << currentPoint << " x:" << point.x() << " y:" << point.y() << " z:" << point.z() << "\n";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user