0
votes
0answers
230 views

Transformation Matrix in Android Canvas?

This question is following up my previous question that I asked it in stackoverflow: Hide a face of a 3D shape behind another,Android canvas? I have a canvas and I have to get the normal vector of a ...
1
vote
0answers
164 views

Drawing two orthogonal strings in 3d space in Android Canvas?

I want to draw two strings in canvas. The first string must be rotated around the Y axis, for example 45 degrees. The second string must start at the end of the first string and also it must be ...
1
vote
2answers
552 views

Matrix rotation of a rectangle to “face” a given point in 2d

Suppose you have a rectangle centered at point (0, 0) and now I want to rotate it such that it is facing the point (100, 100), how would I do this purely with matrix math? To give some more specifics ...