Skip to content

Commit 8770dbd

Browse files
fix format
1 parent d5f4498 commit 8770dbd

17 files changed

+24
-24
lines changed

src/client/graphics/webgl_context.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,14 @@ namespace endor
764764
}
765765

766766
private:
767+
/**
768+
* @returns the client state of the WebGL context.
769+
*/
770+
// Read-only accessor
771+
const WebGLState &clientState() const
772+
{
773+
return clientState_;
774+
}
767775
/**
768776
* an XR-compatible WebGL context could be configured as an `XRWebGLLayer` object and be connected to a specific WebXR
769777
* session. At the same time, each WebXR session could own 1 base layer, thus the XR-compatible WebGL context to a WebXR
@@ -803,14 +811,6 @@ namespace endor
803811
std::string renderer;
804812
// The default handedness of the coordinate system to use.
805813
commandbuffers::MatrixHandedness defaultCoordHandedness = commandbuffers::MatrixHandedness::MATRIX_RIGHT_HANDED;
806-
/**
807-
* @returns the client state of the WebGL context.
808-
*/
809-
// Read-only accessor
810-
const WebGLState &clientState() const
811-
{
812-
return clientState_;
813-
}
814814

815815
protected:
816816
TrClientContextPerProcess *clientContext_;

src/client/script_bindings/webgl/active_info.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ namespace endor
6060
}
6161

6262
} // namespace webgl
63-
} // namespace script_bindings
63+
} // namespace script_bindings
6464
} // namespace endor

src/client/script_bindings/webgl/active_info.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ namespace endor
3838
};
3939

4040
} // namespace webgl
41-
} // namespace script_bindings
41+
} // namespace script_bindings
4242
} // namespace endor

src/client/script_bindings/webgl/framebuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ namespace endor
3131
{
3232
}
3333
} // namespace webgl
34-
} // namespace script_bindings
34+
} // namespace script_bindings
3535
} // namespace endor

src/client/script_bindings/webgl/framebuffer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ namespace endor
3737
};
3838

3939
} // namespace webgl
40-
} // namespace script_bindings
40+
} // namespace script_bindings
4141
} // namespace endor

src/client/script_bindings/webgl/object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ namespace endor
2828
// WebGLObject is a base class, typically not instantiated directly
2929
}
3030
} // namespace webgl
31-
} // namespace script_bindings
31+
} // namespace script_bindings
3232
} // namespace endor

src/client/script_bindings/webgl/object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ namespace endor
4545
};
4646

4747
} // namespace webgl
48-
} // namespace script_bindings
48+
} // namespace script_bindings
4949
} // namespace endor

src/client/script_bindings/webgl/program.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ namespace endor
2020
}
2121

2222
} // namespace webgl
23-
} // namespace script_bindings
23+
} // namespace script_bindings
2424
} // namespace endor

src/client/script_bindings/webgl/program.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ namespace endor
3232
WebGLProgram(v8::Isolate *isolate, const v8::FunctionCallbackInfo<v8::Value> &args);
3333
};
3434
} // namespace webgl
35-
} // namespace script_bindings
35+
} // namespace script_bindings
3636
} // namespace endor

src/client/script_bindings/webgl/renderbuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ namespace endor
1919
// WebGLRenderbuffer objects are created by WebGL context, not by user code
2020
}
2121
} // namespace webgl
22-
} // namespace script_bindings
22+
} // namespace script_bindings
2323
} // namespace endor

0 commit comments

Comments
 (0)