Question: D:A ball with coordinates ( 5 , 2 , 0 ) moves uniformly with a constant speed given by vector ( 2 , 0 ,

D:A ball with coordinates (5,2,0) moves uniformly with a constant speed given by vector (2,0,0).(a) Sketch the main game loop to model the uniform motion of the ball. You answer should take the frame rate into account. 5 marks PAPER CODE COMP222 page 8 of Let pos :=(5,2,0) Let V :=(2,0,0) While (loop not finished) pos := pos +5 tpf V
EndWhile
May be the answer is wrong I think it should be pos := pos + tpf V, do not have 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!