asked 5.8k views
3 votes
In VPython, a _____ is used to determine the placement of a box or sphere.

frame


vector


object


canvas

asked
User MemAllox
by
7.5k points

2 Answers

9 votes

Answer:

the guy above is correct, vector is the answer

Step-by-step explanation:

3 votes

Answer:

vector

Step-by-step explanation:

The tag that is used to position an object such as a box or sphere is known as a vector. Vectors provide sets of coordinates which indicate where on the canvas the object in question is being placed. As long as the vector coordinates attached to the object are within the bounds of the canvas then it is displayed correctly. In Python, a vector would be the following...

v1 = vector(1,2,3)

in which each of the arguments represents the x,y, and z-axis on a plane.

answered
User Smileyborg
by
8.1k points