VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Rotation of points in 3D

Nick Thompson  (6 Submissions)   Miscellaneous   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This code rotates a point around another in 3D using simple fast code. It does this using x, y, z coordinates, cosine and sine. It is 100% accurate.

Inputs
oldx oldy oldz (coordinates) angle (angle of rotation in radians)

Assumes
A good grasp of maths is a good idea

Returns
newx newy newz (new, rotated coordinates)

Side Effects
Definately no side effects

Rate Rotation of points in 3D (3(3 Vote))
Rotation of points in 3D.bas

Rotation of points in 3D Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters