Skip to content

Commit 25ef363

Browse files
ARCore Android SDK v1.11.0
1 parent 765ca36 commit 25ef363

File tree

322 files changed

+57350
-2696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+57350
-2696
lines changed

LICENSE

Lines changed: 414 additions & 2400 deletions
Large diffs are not rendered by default.

libraries/BUILD

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Description:
2+
# The GLM (OpenGL Mathematics) library.
3+
4+
package(default_visibility = ["//visibility:public"])
5+
6+
licenses(["notice"]) # MIT
7+
8+
load("//third_party/glm:defs.bzl", "COMMON_COPTS")
9+
10+
# Headers that can be passed to cc_library.hdrs.
11+
filegroup(
12+
name = "glm_hdrs",
13+
srcs = glob(
14+
[
15+
"glm/**/*.h",
16+
"glm/**/*.hpp",
17+
],
18+
exclude = [
19+
"glm/detail/*.hpp",
20+
"glm/simd/*.h",
21+
],
22+
),
23+
)
24+
25+
# All headers, including inlined files, that can be passed to
26+
# cc_library.textual_hdrs.
27+
filegroup(
28+
name = "glm_all_hdrs",
29+
srcs = glob([
30+
"glm/**/*.h",
31+
"glm/**/*.hpp",
32+
"glm/**/*.inl",
33+
]),
34+
)
35+
36+
cc_library(
37+
name = "glm_impl",
38+
srcs = ["glm/detail/glm.cpp"],
39+
copts = COMMON_COPTS + [
40+
# GLM includes things in a few ways, and by doing this as a copt we
41+
# avoid polluting the global header paths.
42+
"-I.",
43+
"-Ithird_party/glm/latest",
44+
],
45+
defines = ["GLM_ENABLE_EXPERIMENTAL"],
46+
features = ["-use_header_modules"], # Incompatible with -std=c++11.
47+
textual_hdrs = [":glm_all_hdrs"],
48+
visibility = ["//third_party/glm:__pkg__"],
49+
)
50+
51+
# This is not actually a test we care about but can be used to validate that
52+
# GLM compiles successfully.
53+
cc_test(
54+
name = "core_func_matrix_test",
55+
srcs = ["test/core/core_func_matrix.cpp"],
56+
copts = ["-Wno-unused-variable"],
57+
deps = ["//third_party/glm:glm_system"],
58+
)

libraries/glm/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2005 - 2013 G-Truc Creation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

libraries/glm/common.hpp

Lines changed: 534 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)