Skip to content

Commit 73cea3c

Browse files
committed
bflibrary: Separate parts of draw_gpoly()
Make sub-functions from few parts of the draw_gpoly() funct.
1 parent 6bbab45 commit 73cea3c

File tree

2 files changed

+142
-279
lines changed

2 files changed

+142
-279
lines changed

bflibrary/include/poly_gp.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ struct gpoly_state {
4040
int ratioCA_X2Y;
4141
int ratioBA_X2Y;
4242
int ratioCB_X2Y;
43-
int incA_S;
44-
int incB_S;
43+
struct gpoly_factors incC;
44+
struct gpoly_factors incD;
4545
int ptA_Y;
4646
int ptA_X;
4747
int ptA_X_prc;
@@ -67,12 +67,6 @@ struct gpoly_state {
6767
int var_0B8;
6868
int var_0B4;
6969
int var_0A8;
70-
int var_0A4;
71-
int var_0A0;
72-
int var_09C;
73-
int var_098;
74-
int var_094;
75-
int var_090;
7670
struct gpoly_blends bldA;
7771
struct gpoly_blends bldB;
7872
};

0 commit comments

Comments
 (0)