Details
Description
The following code draws nothing in the view port:
Viewport{ id: viewPort anchors.top: parent.top anchors.left: controlPane.right anchors.right: parent.right anchors.bottom: parent.bottom Line { vertices: [ 0, 0, 0, 1, 0, 0, ] width: 10 } }
It seems this problem exists in Qt3D 1.0 as well as 2.0.
Also, the documentation seems to be incorrect:
http://doc-snapshot.qt-project.org/5.0/qml-line.html
"the following QML code draws a line between point (0,0,0), (1,1,1), then to (-1,-1,-1).", but in the source code the point values are different.