forked from mirror/DotRecast
add .editorconfig
This commit is contained in:
parent
5ee837dfdd
commit
e819b20373
|
@ -0,0 +1,19 @@
|
||||||
|
###############################
|
||||||
|
# Core EditorConfig Options #
|
||||||
|
###############################
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# All files
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct,proto,json}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.cs]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
# Wrapping preferences
|
||||||
|
csharp_preserve_single_line_statements = true
|
||||||
|
csharp_preserve_single_line_blocks = true
|
|
@ -346,12 +346,12 @@ namespace DotRecast.Detour
|
||||||
out int segMin, out int segMax)
|
out int segMin, out int segMax)
|
||||||
{
|
{
|
||||||
const float EPS = 0.000001f;
|
const float EPS = 0.000001f;
|
||||||
|
|
||||||
tmin = 0;
|
tmin = 0;
|
||||||
tmax = 1;
|
tmax = 1;
|
||||||
segMin = -1;
|
segMin = -1;
|
||||||
segMax = -1;
|
segMax = -1;
|
||||||
|
|
||||||
var dir = p1.Subtract(p0);
|
var dir = p1.Subtract(p0);
|
||||||
|
|
||||||
var p0v = p0;
|
var p0v = p0;
|
||||||
|
|
Loading…
Reference in New Issue