File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
src/main/java/com/github/stephengold/joltjni Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 198198 <module name =" CommentsIndentation" >
199199 <property name =" tokens" value =" SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN" />
200200 </module >
201+ <module name =" HexLiteralCase" />
201202 <module name =" Indentation" >
202203 <property name =" arrayInitIndent" value =" 4" />
203204 <property name =" basicOffset" value =" 4" />
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ public int getUInt32() {
354354 int aa = ((int ) a ) << 24 ;
355355 int bb = ((int ) b ) << 16 ;
356356 int gg = ((int ) g ) << 8 ;
357- int result = aa & 0xff000000 | bb & 0xff0000 | gg & 0xff00 | r & 0xff ;
357+ int result = aa & 0xFF000000 | bb & 0xFF0000 | gg & 0xFF00 | r & 0xFF ;
358358
359359 return result ;
360360 }
Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2024 Stephen Gold
2+ Copyright (c) 2024-2025 Stephen Gold
33
44Permission is hereby granted, free of charge, to any person obtaining a copy
55of this software and associated documentation files (the "Software"), to deal
@@ -56,11 +56,11 @@ final public class HeightFieldShapeConstants {
5656 /**
5757 * {@code cNoCollisionValue} converted to 16 bits
5858 */
59- final public static int cNoCollisionValue16 = 0xffff ;
59+ final public static int cNoCollisionValue16 = 0xFFFF ;
6060 /**
6161 * maximum height when converted to 16 bits
6262 */
63- final public static int cMaxHeightValue16 = 0xfffe ;
63+ final public static int cMaxHeightValue16 = 0xFFFE ;
6464 // *************************************************************************
6565 // constructors
6666
Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ final public class Jolt {
6464 * <p>
6565 * value should match Jolt/Physics/Collision/Shape/SubShapeID.h
6666 */
67- final public static int cEmptySubShapeId = 0xffffffff ;
67+ final public static int cEmptySubShapeId = 0xFFFF_FFFF ;
6868 /**
6969 * invalid body ID
7070 * <p>
7171 * value should match Jolt/Physics/Body/BodyID.h
7272 */
73- final public static int cInvalidBodyId = 0xffffffff ;
73+ final public static int cInvalidBodyId = 0xFFFF_FFFF ;
7474 /**
7575 * standard 2nd argument to the {@code JobSystemThreadPool} constructor
7676 * <p>
You can’t perform that action at this time.
0 commit comments