Question: **Code:C++ Practical lab: Computer Graphics Sheet 1 plus: Chapter 2: Mathematical Foundation for Graphics Practice 1. Write a program that print 3x4 matrix A Ref:

**Code:C++
Practical lab: Computer Graphics Sheet 1 plus: Chapter 2: Mathematical Foundation for Graphics Practice 1. Write a program that print 3x4 matrix A Ref: slide 28), where: o ifi = a, = i-; ifii 21+ otherwise Practice 2. Write a program that reads two 3d points: P1(x1,41,z1) and P2(x2,42,22). Calculate and print the distance between these two points (Ref: slide 37). Note: MR.P)=(x-) +63 -13)2 +6=-)) -Use math library (sqrt(x)... 1 Practical Lab: Sheet 1 plus
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
