Swinger header and fix progress scripts for each lib

This commit is contained in:
shibbo 2023-03-07 15:15:13 -05:00
parent f9914f376c
commit b550949dd0
7 changed files with 47 additions and 20 deletions

View File

@ -0,0 +1,27 @@
#pragma once
#include <revolution.h>
#include <JGeometry.h>
class Swinger {
public:
Swinger(const TVec3f *, MtxPtr, f32, f32, f32, const TVec3f *);
void update();
void accel(const TVec3f &);
void updateSwingMtx(const TVec3f &);
const TVec3f* _0;
u32 _4;
TVec3f _8;
TVec3f mAcceleration; // _14
TVec3f _20;
f32 _2C;
f32 _30;
f32 _34;
f32 _38;
TVec3f _3C;
TVec3f _48;
TVec3f _54;
TPos3f _60;
};

View File

@ -1,13 +1,13 @@
| Library | Percentage |
| ------------- | ------------- |
| [J2DGraph](https://github.com/shibbo/JSystem/blob/main/docs/lib/J2DGraph.md) | 0.0% |
| [J3DGraphAnimator](https://github.com/shibbo/JSystem/blob/main/docs/lib/J3DGraphAnimator.md) | 0.0% |
| [J3DGraphBase](https://github.com/shibbo/JSystem/blob/main/docs/lib/J3DGraphBase.md) | 0.1595838997576689% |
| [J3DGraphLoader](https://github.com/shibbo/JSystem/blob/main/docs/lib/J3DGraphLoader.md) | 0.0% |
| [JAudio2](https://github.com/shibbo/JSystem/blob/main/docs/lib/JAudio2.md) | 0.0% |
| [JGadget](https://github.com/shibbo/JSystem/blob/main/docs/lib/JGadget.md) | 0.0% |
| [JKernel](https://github.com/shibbo/JSystem/blob/main/docs/lib/JKernel.md) | 16.896441167040717% |
| [JMath](https://github.com/shibbo/JSystem/blob/main/docs/lib/JMath.md) | 0.0% |
| [JParticle](https://github.com/shibbo/JSystem/blob/main/docs/lib/JParticle.md) | 0.0% |
| [JSupport](https://github.com/shibbo/JSystem/blob/main/docs/lib/JSupport.md) | 32.04951856946355% |
| [JUtility](https://github.com/shibbo/JSystem/blob/main/docs/lib/JUtility.md) | 4.0283311199645855% |
| [J2DGraph](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/J2DGraph.md) | 0.0% |
| [J3DGraphAnimator](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/J3DGraphAnimator.md) | 0.0% |
| [J3DGraphBase](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/J3DGraphBase.md) | 0.1595838997576689% |
| [J3DGraphLoader](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/J3DGraphLoader.md) | 0.0% |
| [JAudio2](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JAudio2.md) | 0.0% |
| [JGadget](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JGadget.md) | 0.0% |
| [JKernel](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JKernel.md) | 16.896441167040717% |
| [JMath](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JMath.md) | 0.0% |
| [JParticle](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JParticle.md) | 0.0% |
| [JSupport](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JSupport.md) | 32.04951856946355% |
| [JUtility](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/JUtility.md) | 4.0283311199645855% |

View File

@ -263,7 +263,7 @@ for key in libraries:
lib = libraries[key]
d, f = lib.calculateProgress()
libprog = (d / f) * 100.0
progressPage.append(f"| [{key}](https://github.com/shibbo/JSystem/blob/main/docs/lib/{key}.md) | {libprog}% |\n")
progressPage.append(f"| [{key}](https://github.com/shibbo/Petari/blob/master/libs/JSystem/docs/lib/{key}.md) | {libprog}% |\n")
with open("docs/PROGRESS.md", "w") as w:
w.writelines(progressPage)

View File

@ -1,3 +1,3 @@
| Library | Percentage |
| ------------- | ------------- |
| [RVLFaceLib](https://github.com/shibbo/RVL_SDK/blob/main/docs/lib/RVLFaceLib.md) | 0.0% |
| [RVLFaceLib](https://github.com/shibbo/Petari/blob/master/libs/RVLFaceLib/docs/lib/RVLFaceLib.md) | 0.0% |

View File

@ -253,7 +253,7 @@ for key in libraries:
lib = libraries[key]
d, f = lib.calculateProgress()
libprog = (d / f) * 100.0
progressPage.append(f"| [{key}](https://github.com/shibbo/RVL_SDK/blob/main/docs/lib/{key}.md) | {libprog}% |\n")
progressPage.append(f"| [{key}](https://github.com/shibbo/Petari/blob/master/libs/RVLFaceLib/docs/lib/{key}.md) | {libprog}% |\n")
with open("docs/PROGRESS.md", "w") as w:
w.writelines(progressPage)

View File

@ -1,7 +1,7 @@
| Library | Percentage |
| ------------- | ------------- |
| [libnw4Fr_ut](https://github.com/shibbo/nw4r/blob/main/docs/lib/libnw4Fr_ut.md) | 0.0% |
| [libnw4r_db](https://github.com/shibbo/nw4r/blob/main/docs/lib/libnw4r_db.md) | 0.0% |
| [libnw4r_lyt](https://github.com/shibbo/nw4r/blob/main/docs/lib/libnw4r_lyt.md) | 0.7393364928909952% |
| [libnw4r_math](https://github.com/shibbo/nw4r/blob/main/docs/lib/libnw4r_math.md) | 0.0% |
| [libnw4r_ut](https://github.com/shibbo/nw4r/blob/main/docs/lib/libnw4r_ut.md) | 0.0% |
| [libnw4Fr_ut](https://github.com/shibbo/Petari/blob/master/libs/nw4r/docs/lib/libnw4Fr_ut.md) | 0.0% |
| [libnw4r_db](https://github.com/shibbo/Petari/blob/master/libs/nw4r/docs/lib/libnw4r_db.md) | 0.0% |
| [libnw4r_lyt](https://github.com/shibbo/Petari/blob/master/libs/nw4r/docs/lib/libnw4r_lyt.md) | 0.7393364928909952% |
| [libnw4r_math](https://github.com/shibbo/Petari/blob/master/libs/nw4r/docs/lib/libnw4r_math.md) | 0.0% |
| [libnw4r_ut](https://github.com/shibbo/Petari/blob/master/libs/nw4r/docs/lib/libnw4r_ut.md) | 0.0% |

View File

@ -257,7 +257,7 @@ for key in libraries:
lib = libraries[key]
d, f = lib.calculateProgress()
libprog = (d / f) * 100.0
progressPage.append(f"| [{key}](https://github.com/shibbo/nw4r/blob/main/docs/lib/{key}.md) | {libprog}% |\n")
progressPage.append(f"| [{key}](https://github.com/shibbo/Petari/blob/master/libs/nw4r/docs/lib/{key}.md) | {libprog}% |\n")
with open("docs/PROGRESS.md", "w") as w:
w.writelines(progressPage)