Document of PurpleMicroStar.BasicMech

Introduction

This module contains some basic mathematical and physical algorithms

Available Classes and Functions

Function G_Force():

Get two planets' gravity force

Parameters:
Return:

Function Vec_Project():

Project the 2nd vector to 1st vector

Parameters:
Return:

Function AngleXYZ():

Get the angle between the vector and specified plane

Parameters:
Return:

Function Vec_Length():

Get the length of vector

Parameters:
Return:

Function Vec_Norm():

Get normalized vector

Parameters:
Return:

Function Rotate_XYZ():

Rotate vector clockwise

Parameters:
Return:

 

Author: Airscker/Yufeng Wang

License: GPL-3.0 License

We go on util we go wrong, then we keep on util we are right.