Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
EngineersBox committed Jul 29, 2024
1 parent 47509bd commit 34b50a0
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 297 deletions.
11 changes: 0 additions & 11 deletions libpsn00b/include/smd/smd.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ typedef struct {
uint8_t len;
} SMD_PRI_TYPE;

#define SMD_PRI_TYPE_LINE 0
#define SMD_PRI_TYPE_TRIANGLE 1
#define SMD_PRI_TYPE_QUAD 2

#define SMD_PRI_TYPE_LIGHTING_NONE 0 // No shading (no normals)
#define SMD_PRI_TYPE_LIGHTING_FLAT 1 // Flat shading (1 normal)
#define SMD_PRI_TYPE_LIGHTING_SMOOTH 2 // Smooth shading (3 normals per vertex)

#define SMD_PRI_TYPE_COLORING_SOLID 0
#define SMD_PRI_TYPE_COLORING_GOURAUD 1

typedef struct {
SMD_PRI_TYPE prim_id;

Expand Down
Loading

2 comments on commit 34b50a0

@mattconte
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit weird that you'd reformat a file that came from an external project, since that pretty much guarantees any improvements will never be taken as PR.

@EngineersBox
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattconte 100% I agree, I was messing around with autoformatting on my LSP for another file for braces and newlines and it got applied here while I was testing some things. I'll be reverting it to it's the original format when I get time later today 👍🏼

Please sign in to comment.