blob: eb817ba42e6f768aca2ff1af6f5c34f4c4b79524 [file] [log] [blame]
James Kuszmaul6271cf72019-09-18 20:10:08 -07001cc_library(
2 name = "webgl2_plotter",
3 srcs = ["webgl2_plotter.cc"],
4 hdrs = ["webgl2_plotter.h"],
5 linkopts = [
6 "-s",
7 "USE_WEBGL2=1",
8 "-s",
9 "FULL_ES3=1",
10 ],
11 restricted_to = ["//tools:web"],
12 visibility = ["//visibility:public"],
13 deps = ["@org_tuxfamily_eigen//:eigen"],
14)
15
16cc_library(
17 name = "webgl2_animator",
18 srcs = ["webgl2_animator.cc"],
19 hdrs = ["webgl2_animator.h"],
20 linkopts = [
21 "-s",
22 "USE_WEBGL2=1",
23 ],
24 restricted_to = ["//tools:web"],
25 visibility = ["//visibility:public"],
26 deps = [
27 ":webgl2_plotter",
28 "@org_tuxfamily_eigen//:eigen",
29 ],
30)