Skip to content

Commit

Permalink
Improve C code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Jan 5, 2025
1 parent f68c51d commit 76c4ca6
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions cbits/perspectivetransform.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,16 @@ typedef struct {
} Point2D;

typedef struct {
double tl_x;
double tl_y;
double tr_x;
double tr_y;
double br_x;
double br_y;
double bl_x;
double bl_y;
double tl_x, tl_y;
double tr_x, tr_y;
double br_x, br_y;
double bl_x, bl_y;
} Corners;

typedef struct {
double m00;
double m01;
double m02;
double m10;
double m11;
double m12;
double m20;
double m21;
double m22;
double m00, m01, m02;
double m10, m11, m12;
double m20, m21, m22;
} Matrix3x3;

Matrix3x3* calculate_perspective_transform(
Expand Down

0 comments on commit 76c4ca6

Please sign in to comment.