Skip to content

Commit 7993909

Browse files
ShadowNinjarubenwardy
authored andcommitted
Spacing fixes
1 parent 88b21a7 commit 7993909

31 files changed

+82
-83
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if(NOT "${IRRLICHTMT_BUILD_DIR}" STREQUAL "")
6969
find_package(IrrlichtMt QUIET
7070
PATHS "${IRRLICHTMT_BUILD_DIR}"
7171
NO_DEFAULT_PATH
72-
)
72+
)
7373

7474
if(NOT TARGET IrrlichtMt::IrrlichtMt)
7575
# find_package() searches certain subdirectories. ${PATH}/cmake is not

client/shaders/nodes_shader/opengl_fragment.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,6 @@ void main(void)
557557
- fogShadingParameter * length(eyeVec) / fogDistance, 0.0, 1.0);
558558
col = mix(skyBgColor, col, clarity);
559559
col = vec4(col.rgb, base.a);
560-
560+
561561
gl_FragColor = col;
562562
}

client/shaders/nodes_shader/opengl_vertex.glsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ void main(void)
199199
vec3 nNormal = normalize(vNormal);
200200
cosLight = dot(nNormal, -v_LightDirection);
201201

202-
// Calculate normal offset scale based on the texel size adjusted for
202+
// Calculate normal offset scale based on the texel size adjusted for
203203
// curvature of the SM texture. This code must be change together with
204204
// getPerspectiveFactor or any light-space transformation.
205205
vec3 eyeToVertex = worldPosition - eyePosition + cameraOffset;
206206
// Distance from the vertex to the player
207207
float distanceToPlayer = length(eyeToVertex - v_LightDirection * dot(eyeToVertex, v_LightDirection)) / f_shadowfar;
208-
// perspective factor estimation according to the
208+
// perspective factor estimation according to the
209209
float perspectiveFactor = distanceToPlayer * xyPerspectiveBias0 + xyPerspectiveBias1;
210210
float texelSize = f_shadowfar * perspectiveFactor * perspectiveFactor /
211211
(f_textureresolution * xyPerspectiveBias1 - perspectiveFactor * xyPerspectiveBias0);

clientmods/preview/mod.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name = preview
1+
name = preview

cmake/Modules/FindSQLite3.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mark_as_advanced(SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)
1+
mark_as_advanced(SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)
22

33
find_path(SQLITE3_INCLUDE_DIR sqlite3.h)
44

cmake/Modules/FindVorbis.cmake

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,17 @@ else(NOT GP2XWIZ)
2929
find_package_handle_standard_args(Vorbis DEFAULT_MSG
3030
VORBIS_INCLUDE_DIR VORBIS_LIBRARY)
3131
endif(NOT GP2XWIZ)
32-
32+
3333
if(VORBIS_FOUND)
34-
if(NOT GP2XWIZ)
35-
set(VORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY}
36-
${OGG_LIBRARY})
37-
else(NOT GP2XWIZ)
38-
set(VORBIS_LIBRARIES ${VORBIS_LIBRARY})
39-
endif(NOT GP2XWIZ)
34+
if(NOT GP2XWIZ)
35+
set(VORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY}
36+
${OGG_LIBRARY})
37+
else(NOT GP2XWIZ)
38+
set(VORBIS_LIBRARIES ${VORBIS_LIBRARY})
39+
endif(NOT GP2XWIZ)
4040
else(VORBIS_FOUND)
41-
set(VORBIS_LIBRARIES)
41+
set(VORBIS_LIBRARIES)
4242
endif(VORBIS_FOUND)
4343

4444
mark_as_advanced(OGG_INCLUDE_DIR VORBIS_INCLUDE_DIR)
4545
mark_as_advanced(OGG_LIBRARY VORBIS_LIBRARY VORBISFILE_LIBRARY)
46-

doc/lgpl-2.1.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know
5555
that what they have is not the original version, so that the original
5656
author's reputation will not be affected by problems that might be
5757
introduced by others.
58-
58+
5959
Finally, software patents pose a constant threat to the existence of
6060
any free program. We wish to make sure that a company cannot
6161
effectively restrict the users of a free program by obtaining a
@@ -111,7 +111,7 @@ modification follow. Pay close attention to the difference between a
111111
"work based on the library" and a "work that uses the library". The
112112
former contains code derived from the library, whereas the latter must
113113
be combined with the library in order to run.
114-
114+
115115
GNU LESSER GENERAL PUBLIC LICENSE
116116
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117117

@@ -158,7 +158,7 @@ Library.
158158
You may charge a fee for the physical act of transferring a copy,
159159
and you may at your option offer warranty protection in exchange for a
160160
fee.
161-
161+
162162
2. You may modify your copy or copies of the Library or any portion
163163
of it, thus forming a work based on the Library, and copy and
164164
distribute such modifications or work under the terms of Section 1
@@ -216,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the
216216
ordinary GNU General Public License has appeared, then you can specify
217217
that version instead if you wish.) Do not make any other change in
218218
these notices.
219-
219+
220220
Once this change is made in a given copy, it is irreversible for
221221
that copy, so the ordinary GNU General Public License applies to all
222222
subsequent copies and derivative works made from that copy.
@@ -267,7 +267,7 @@ Library will still fall under Section 6.)
267267
distribute the object code for the work under the terms of Section 6.
268268
Any executables containing that work also fall under Section 6,
269269
whether or not they are linked directly with the Library itself.
270-
270+
271271
6. As an exception to the Sections above, you may also combine or
272272
link a "work that uses the Library" with the Library to produce a
273273
work containing portions of the Library, and distribute that work
@@ -329,7 +329,7 @@ restrictions of other proprietary libraries that do not normally
329329
accompany the operating system. Such a contradiction means you cannot
330330
use both them and the Library together in an executable that you
331331
distribute.
332-
332+
333333
7. You may place library facilities that are a work based on the
334334
Library side-by-side in a single library together with other library
335335
facilities not covered by this License, and distribute such a combined
@@ -370,7 +370,7 @@ subject to these terms and conditions. You may not impose any further
370370
restrictions on the recipients' exercise of the rights granted herein.
371371
You are not responsible for enforcing compliance by third parties with
372372
this License.
373-
373+
374374
11. If, as a consequence of a court judgment or allegation of patent
375375
infringement or for any other reason (not limited to patent issues),
376376
conditions are imposed on you (whether by court order, agreement or
@@ -422,7 +422,7 @@ conditions either of that version or of any later version published by
422422
the Free Software Foundation. If the Library does not specify a
423423
license version number, you may choose any version ever published by
424424
the Free Software Foundation.
425-
425+
426426
14. If you wish to incorporate parts of the Library into other free
427427
programs whose distribution conditions are incompatible with these,
428428
write to the author to ask for permission. For software which is
@@ -456,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456456
DAMAGES.
457457

458458
END OF TERMS AND CONDITIONS
459-
459+
460460
How to Apply These Terms to Your New Libraries
461461

462462
If you develop a new library, and you want it to be of the greatest

0 commit comments

Comments
 (0)