From b8dfca637d72c495978d33d6f0574810931825ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 27 Jan 2024 08:37:38 +0100 Subject: [PATCH 1/3] Add test --- .../_snaps/plot/basic-graph-spheres.svg | 40 +++++++++++++++++++ tests/testthat/test-plot.R | 22 ++++++++++ 2 files changed, 62 insertions(+) create mode 100644 tests/testthat/_snaps/plot/basic-graph-spheres.svg diff --git a/tests/testthat/_snaps/plot/basic-graph-spheres.svg b/tests/testthat/_snaps/plot/basic-graph-spheres.svg new file mode 100644 index 0000000000..f35282245e --- /dev/null +++ b/tests/testthat/_snaps/plot/basic-graph-spheres.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +2 +3 + + diff --git a/tests/testthat/test-plot.R b/tests/testthat/test-plot.R index db6580eacc..a9307976fe 100644 --- a/tests/testthat/test-plot.R +++ b/tests/testthat/test-plot.R @@ -43,3 +43,25 @@ test_that("basic plot test, layout 2", { } ) }) + +test_that("basic plot test, spheres", { + g <- make_graph(c(1, 2, 1, 1, 2, 3), directed = F) + g$layout <- structure( + c( + 1.17106961533433, + 1.63885278868168, + 2.10732892696401, + 3.91718168529106, + 2.87660789399794, + 1.83449260993935 + ), + dim = 3:2 + ) + + vdiffr::expect_doppelganger( + "Basic graph, spheres", + function() { + plot(g, vertex.shape = "sphere", vertex.size = 100) + } + ) +}) From 80b04d15df9429ea14d8cf39810b099cfb0d0557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 27 Jan 2024 08:50:46 +0100 Subject: [PATCH 2/3] Use cpp11 bindings --- R/cpp11.R | 4 ++ R/plot.shapes.R | 13 +++--- src/cpp11.cpp | 10 ++++- .../RIgraphRay.cpp => simpleraytracer.cpp} | 40 ++++++++----------- src/sources.mk | 2 +- 5 files changed, 38 insertions(+), 31 deletions(-) rename src/{vendor/simpleraytracer/RIgraphRay.cpp => simpleraytracer.cpp} (76%) diff --git a/R/cpp11.R b/R/cpp11.R index 6d7826e60d..998e87cd09 100644 --- a/R/cpp11.R +++ b/R/cpp11.R @@ -3,3 +3,7 @@ igraph_hcass2 <- function(n, ia, ib) { .Call(`_igraph_igraph_hcass2`, n, ia, ib) } + +getsphere <- function(spos, sradius, scolor, lightpos, lightcolor, swidth, sheight) { + .Call(`_igraph_getsphere`, spos, sradius, scolor, lightpos, lightcolor, swidth, sheight) +} diff --git a/R/plot.shapes.R b/R/plot.shapes.R index e30ab0b296..80dcbfbc02 100644 --- a/R/plot.shapes.R +++ b/R/plot.shapes.R @@ -1074,11 +1074,14 @@ mypie <- function(x, y, values, radius, edges = 200, col = NULL, angle = 45, ## Need to create a separate image for every different vertex color allcols <- unique(vertex.color) images <- lapply(allcols, function(col) { - img <- .Call(R_igraph_getsphere, - pos = c(0.0, 0.0, 10.0), radius = 7.0, - color = col2rgb(col) / 255, bgcolor = c(0, 0, 0), - lightpos = list(c(-2, 2, 2)), lightcolor = list(c(1, 1, 1)), - width = 100L, height = 100L + img <- getsphere( + spos = c(0.0, 0.0, 10.0), + sradius = 7.0, + scolor = col2rgb(col) / 255, + lightpos = list(c(-2, 2, 2)), + lightcolor = list(c(1, 1, 1)), + swidth = 100L, + sheight = 100L ) as.raster(img) }) diff --git a/src/cpp11.cpp b/src/cpp11.cpp index a97caba906..f964e4fde3 100644 --- a/src/cpp11.cpp +++ b/src/cpp11.cpp @@ -12,6 +12,13 @@ extern "C" SEXP _igraph_igraph_hcass2(SEXP n, SEXP ia, SEXP ib) { return cpp11::as_sexp(igraph_hcass2(cpp11::as_cpp>(n), cpp11::as_cpp>(ia), cpp11::as_cpp>(ib))); END_CPP11 } +// simpleraytracer.cpp +SEXP getsphere(cpp11::doubles spos, double sradius, cpp11::doubles scolor, cpp11::list lightpos, cpp11::list lightcolor, int swidth, int sheight); +extern "C" SEXP _igraph_getsphere(SEXP spos, SEXP sradius, SEXP scolor, SEXP lightpos, SEXP lightcolor, SEXP swidth, SEXP sheight) { + BEGIN_CPP11 + return cpp11::as_sexp(getsphere(cpp11::as_cpp>(spos), cpp11::as_cpp>(sradius), cpp11::as_cpp>(scolor), cpp11::as_cpp>(lightpos), cpp11::as_cpp>(lightcolor), cpp11::as_cpp>(swidth), cpp11::as_cpp>(sheight))); + END_CPP11 +} extern "C" { /* .Call calls */ @@ -200,7 +207,6 @@ extern SEXP R_igraph_get_stochastic_sparse(void *, void *, void *); extern SEXP R_igraph_get_subisomorphisms_vf2(void *, void *, void *, void *, void *, void *); extern SEXP R_igraph_get_widest_path(void *, void *, void *, void *, void *); extern SEXP R_igraph_get_widest_paths(void *, void *, void *, void *, void *); -extern SEXP R_igraph_getsphere(void *, void *, void *, void *, void *, void *, void *, void *); extern SEXP R_igraph_girth(void *, void *); extern SEXP R_igraph_global_efficiency(void *, void *, void *); extern SEXP R_igraph_gomory_hu_tree(void *, void *); @@ -659,7 +665,6 @@ static const R_CallMethodDef CallEntries[] = { {"R_igraph_get_subisomorphisms_vf2", (DL_FUNC) &R_igraph_get_subisomorphisms_vf2, 6}, {"R_igraph_get_widest_path", (DL_FUNC) &R_igraph_get_widest_path, 5}, {"R_igraph_get_widest_paths", (DL_FUNC) &R_igraph_get_widest_paths, 5}, - {"R_igraph_getsphere", (DL_FUNC) &R_igraph_getsphere, 8}, {"R_igraph_girth", (DL_FUNC) &R_igraph_girth, 2}, {"R_igraph_global_efficiency", (DL_FUNC) &R_igraph_global_efficiency, 3}, {"R_igraph_gomory_hu_tree", (DL_FUNC) &R_igraph_gomory_hu_tree, 2}, @@ -927,6 +932,7 @@ static const R_CallMethodDef CallEntries[] = { {"R_igraph_write_graph_ncol", (DL_FUNC) &R_igraph_write_graph_ncol, 4}, {"R_igraph_write_graph_pajek", (DL_FUNC) &R_igraph_write_graph_pajek, 2}, {"UUID_gen", (DL_FUNC) &UUID_gen, 1}, + {"_igraph_getsphere", (DL_FUNC) &_igraph_getsphere, 7}, {"_igraph_igraph_hcass2", (DL_FUNC) &_igraph_igraph_hcass2, 3}, {"make_lazy", (DL_FUNC) &make_lazy, 3}, {"make_lazy_dots", (DL_FUNC) &make_lazy_dots, 2}, diff --git a/src/vendor/simpleraytracer/RIgraphRay.cpp b/src/simpleraytracer.cpp similarity index 76% rename from src/vendor/simpleraytracer/RIgraphRay.cpp rename to src/simpleraytracer.cpp index 8bc9ddb57f..888ea36264 100644 --- a/src/vendor/simpleraytracer/RIgraphRay.cpp +++ b/src/simpleraytracer.cpp @@ -24,40 +24,34 @@ #include "igraph.h" #include "igraph_error.h" -#include "RayTracer.h" -#include "Sphere.h" +#include "vendor/simpleraytracer/RayTracer.h" +#include "vendor/simpleraytracer/Sphere.h" #include "config.h" -#include -#include +#include #include using namespace igraph; -extern "C" { - -SEXP R_igraph_getsphere(SEXP pos, SEXP radius, SEXP color, SEXP bgcolor, - SEXP lightpos, SEXP lightcolor, SEXP width, - SEXP height) { +[[cpp11::register]] +SEXP getsphere( + cpp11::doubles spos, double sradius, cpp11::doubles scolor, + cpp11::list lightpos, cpp11::list lightcolor, int swidth, int sheight) { /* All error checking is done at the R level */ int i; - double *spos=REAL(pos); - double *scolor=REAL(color); - int no_lights=GET_LENGTH(lightpos); + size_t no_lights=lightpos.size(); RayTracer* p_ray_tracer; - Sphere * sphere; - int swidth=INTEGER(width)[0]; - int sheight=INTEGER(height)[0]; + Sphere* sphere; int nopixels=swidth * sheight; SEXP result, dim; Image image; p_ray_tracer = new RayTracer(); - p_ray_tracer->EyePoint(Point(0,0,0)); - + p_ray_tracer->EyePoint(Point(0,0,0)); + for (i=0; iLightColor(Color(lcol[0], lcol[1], lcol[2])); p_ray_tracer->AddLight(light); } - - sphere = new Sphere(Point(spos[0], spos[1], spos[2]), REAL(radius)[0]); + + sphere = new Sphere(Point(spos[0], spos[1], spos[2]), sradius); sphere->ShapeColor(Color(scolor[0], scolor[1], scolor[2])); p_ray_tracer->AddShape(sphere); PROTECT(result=NEW_NUMERIC(nopixels * 4)); PROTECT(dim=NEW_INTEGER(3)); - INTEGER(dim)[0]=swidth; INTEGER(dim)[1]=sheight; INTEGER(dim)[2]=4; + INTEGER(dim)[0]=swidth; + INTEGER(dim)[1]=sheight; + INTEGER(dim)[2]=4; SET_DIM(result, dim); image.width=swidth; @@ -85,9 +81,7 @@ SEXP R_igraph_getsphere(SEXP pos, SEXP radius, SEXP color, SEXP bgcolor, p_ray_tracer->RayTrace(image); delete p_ray_tracer; - + UNPROTECT(2); return result; } - -} // extern C diff --git a/src/sources.mk b/src/sources.mk index e72b5e7aba..499f874027 100644 --- a/src/sources.mk +++ b/src/sources.mk @@ -1 +1 @@ -SOURCES=rinterface_extra.o rrandom.o rinterface.o cpp11.o cpprinterface.o lazyeval.o init.o vendor/arpack/dnaupd.o vendor/arpack/dstatn.o vendor/arpack/dsaupd.o vendor/arpack/dvout.o vendor/arpack/dstqrb.o vendor/arpack/dlaqrb.o vendor/arpack/dsaup2.o vendor/arpack/dmout.o vendor/arpack/dngets.o vendor/arpack/dneupd.o vendor/arpack/dsortc.o vendor/arpack/dnaup2.o vendor/arpack/dseigt.o vendor/arpack/dneigh.o vendor/arpack/dseupd.o vendor/arpack/dsgets.o vendor/arpack/dnapps.o vendor/arpack/dsaitr.o vendor/arpack/dstats.o vendor/arpack/dnconv.o vendor/arpack/second.o vendor/arpack/dsesrt.o vendor/arpack/dsapps.o vendor/arpack/dgetv0.o vendor/arpack/dnaitr.o vendor/arpack/dsortr.o vendor/arpack/dsconv.o vendor/arpack/wrap.o vendor/arpack/ivout.o vendor/cigraph/src/version.o vendor/cigraph/src/centrality/eigenvector.o vendor/cigraph/src/centrality/truss.o vendor/cigraph/src/centrality/prpack.o vendor/cigraph/src/centrality/pagerank.o vendor/cigraph/src/centrality/closeness.o vendor/cigraph/src/centrality/hub_authority.o vendor/cigraph/src/centrality/coreness.o vendor/cigraph/src/centrality/centralization.o vendor/cigraph/src/centrality/betweenness.o vendor/cigraph/src/centrality/centrality_other.o vendor/cigraph/src/centrality/prpack/prpack_utils.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_scc_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_ge_graph.o vendor/cigraph/src/centrality/prpack/prpack_base_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_schur_graph.o vendor/cigraph/src/centrality/prpack/prpack_igraph_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_gs_graph.o vendor/cigraph/src/centrality/prpack/prpack_result.o vendor/cigraph/src/centrality/prpack/prpack_solver.o vendor/cigraph/src/cliques/glet.o vendor/cigraph/src/cliques/maximal_cliques.o vendor/cigraph/src/cliques/cliquer_wrapper.o vendor/cigraph/src/cliques/cliques.o vendor/cigraph/src/cliques/cliquer/cliquer.o vendor/cigraph/src/cliques/cliquer/reorder.o vendor/cigraph/src/cliques/cliquer/cliquer_graph.o vendor/cigraph/src/community/voronoi.o vendor/cigraph/src/community/optimal_modularity.o vendor/cigraph/src/community/modularity.o vendor/cigraph/src/community/leiden.o vendor/cigraph/src/community/fluid.o vendor/cigraph/src/community/fast_modularity.o vendor/cigraph/src/community/louvain.o vendor/cigraph/src/community/label_propagation.o vendor/cigraph/src/community/community_misc.o vendor/cigraph/src/community/leading_eigenvector.o vendor/cigraph/src/community/edge_betweenness.o vendor/cigraph/src/community/infomap/infomap_Greedy.o vendor/cigraph/src/community/infomap/infomap.o vendor/cigraph/src/community/infomap/infomap_FlowGraph.o vendor/cigraph/src/community/spinglass/NetRoutines.o vendor/cigraph/src/community/spinglass/clustertool.o vendor/cigraph/src/community/spinglass/pottsmodel_2.o vendor/cigraph/src/community/spinglass/NetDataTypes.o vendor/cigraph/src/community/walktrap/walktrap.o vendor/cigraph/src/community/walktrap/walktrap_graph.o vendor/cigraph/src/community/walktrap/walktrap_heap.o vendor/cigraph/src/community/walktrap/walktrap_communities.o vendor/cigraph/src/connectivity/components.o vendor/cigraph/src/connectivity/cohesive_blocks.o vendor/cigraph/src/connectivity/separators.o vendor/cigraph/src/constructors/circulant.o vendor/cigraph/src/constructors/adjacency.o vendor/cigraph/src/constructors/famous.o vendor/cigraph/src/constructors/lcf.o vendor/cigraph/src/constructors/full.o vendor/cigraph/src/constructors/kautz.o vendor/cigraph/src/constructors/prufer.o vendor/cigraph/src/constructors/lattices.o vendor/cigraph/src/constructors/basic_constructors.o vendor/cigraph/src/constructors/regular.o vendor/cigraph/src/constructors/de_bruijn.o vendor/cigraph/src/constructors/atlas.o vendor/cigraph/src/constructors/generalized_petersen.o vendor/cigraph/src/constructors/trees.o vendor/cigraph/src/constructors/linegraph.o vendor/cigraph/src/core/memory.o vendor/cigraph/src/core/heap.o vendor/cigraph/src/core/interruption.o vendor/cigraph/src/core/array.o vendor/cigraph/src/core/strvector.o vendor/cigraph/src/core/cutheap.o vendor/cigraph/src/core/stack.o vendor/cigraph/src/core/fixed_vectorlist.o vendor/cigraph/src/core/vector.o vendor/cigraph/src/core/dqueue.o vendor/cigraph/src/core/indheap.o vendor/cigraph/src/core/printing.o vendor/cigraph/src/core/set.o vendor/cigraph/src/core/psumtree.o vendor/cigraph/src/core/trie.o vendor/cigraph/src/core/vector_list.o vendor/cigraph/src/core/matrix_list.o vendor/cigraph/src/core/estack.o vendor/cigraph/src/core/error.o vendor/cigraph/src/core/progress.o vendor/cigraph/src/core/genheap.o vendor/cigraph/src/core/vector_ptr.o vendor/cigraph/src/core/marked_queue.o vendor/cigraph/src/core/statusbar.o vendor/cigraph/src/core/grid.o vendor/cigraph/src/core/sparsemat.o vendor/cigraph/src/core/matrix.o vendor/cigraph/src/core/buckets.o vendor/cigraph/src/flow/flow.o vendor/cigraph/src/flow/st-cuts.o vendor/cigraph/src/flow/flow_conversion.o vendor/cigraph/src/games/forestfire.o vendor/cigraph/src/games/static_fitness.o vendor/cigraph/src/games/correlated.o vendor/cigraph/src/games/erdos_renyi.o vendor/cigraph/src/games/growing_random.o vendor/cigraph/src/games/recent_degree.o vendor/cigraph/src/games/islands.o vendor/cigraph/src/games/preference.o vendor/cigraph/src/games/dotproduct.o vendor/cigraph/src/games/sbm.o vendor/cigraph/src/games/barabasi.o vendor/cigraph/src/games/citations.o vendor/cigraph/src/games/watts_strogatz.o vendor/cigraph/src/games/degree_sequence.o vendor/cigraph/src/games/k_regular.o vendor/cigraph/src/games/callaway_traits.o vendor/cigraph/src/games/grg.o vendor/cigraph/src/games/establishment.o vendor/cigraph/src/games/tree.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_random.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_graph_molloy_hash.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_degree_sequence.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_mr-connected.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_graph_molloy_optimized.o vendor/cigraph/src/graph/graph_list.o vendor/cigraph/src/graph/basic_query.o vendor/cigraph/src/graph/visitors.o vendor/cigraph/src/graph/iterators.o vendor/cigraph/src/graph/type_indexededgelist.o vendor/cigraph/src/graph/cattributes.o vendor/cigraph/src/graph/caching.o vendor/cigraph/src/graph/type_common.o vendor/cigraph/src/graph/attributes.o vendor/cigraph/src/graph/adjlist.o vendor/cigraph/src/hrg/hrg_types.o vendor/cigraph/src/hrg/hrg.o vendor/cigraph/src/internal/glpk_support.o vendor/cigraph/src/internal/qsort_r.o vendor/cigraph/src/internal/qsort.o vendor/cigraph/src/internal/utils.o vendor/cigraph/src/internal/hacks.o vendor/cigraph/src/internal/lsap.o vendor/cigraph/src/internal/zeroin.o vendor/cigraph/src/io/graphdb.o vendor/cigraph/src/io/dot.o vendor/cigraph/src/io/gml-tree.o vendor/cigraph/src/io/ncol.o vendor/cigraph/src/io/edgelist.o vendor/cigraph/src/io/lgl.o vendor/cigraph/src/io/dimacs.o vendor/cigraph/src/io/pajek.o vendor/cigraph/src/io/parse_utils.o vendor/cigraph/src/io/graphml.o vendor/cigraph/src/io/dl.o vendor/cigraph/src/io/gml.o vendor/cigraph/src/io/leda.o vendor/cigraph/src/isomorphism/isomorphism_misc.o vendor/cigraph/src/isomorphism/lad.o vendor/cigraph/src/isomorphism/queries.o vendor/cigraph/src/isomorphism/isoclasses.o vendor/cigraph/src/isomorphism/bliss.o vendor/cigraph/src/isomorphism/vf2.o vendor/cigraph/src/isomorphism/bliss/utils.o vendor/cigraph/src/isomorphism/bliss/graph.o vendor/cigraph/src/isomorphism/bliss/uintseqhash.o vendor/cigraph/src/isomorphism/bliss/defs.o vendor/cigraph/src/isomorphism/bliss/orbit.o vendor/cigraph/src/isomorphism/bliss/heap.o vendor/cigraph/src/isomorphism/bliss/partition.o vendor/cigraph/src/layout/reingold_tilford.o vendor/cigraph/src/layout/layout_bipartite.o vendor/cigraph/src/layout/graphopt.o vendor/cigraph/src/layout/davidson_harel.o vendor/cigraph/src/layout/umap.o vendor/cigraph/src/layout/merge_dla.o vendor/cigraph/src/layout/merge_grid.o vendor/cigraph/src/layout/kamada_kawai.o vendor/cigraph/src/layout/gem.o vendor/cigraph/src/layout/sugiyama.o vendor/cigraph/src/layout/large_graph.o vendor/cigraph/src/layout/fruchterman_reingold.o vendor/cigraph/src/layout/layout_grid.o vendor/cigraph/src/layout/circular.o vendor/cigraph/src/layout/mds.o vendor/cigraph/src/layout/layout_random.o vendor/cigraph/src/layout/drl/drl_layout_3d.o vendor/cigraph/src/layout/drl/drl_parse.o vendor/cigraph/src/layout/drl/drl_graph_3d.o vendor/cigraph/src/layout/drl/drl_graph.o vendor/cigraph/src/layout/drl/drl_layout.o vendor/cigraph/src/layout/drl/DensityGrid.o vendor/cigraph/src/layout/drl/DensityGrid_3d.o vendor/cigraph/src/linalg/eigen.o vendor/cigraph/src/linalg/arpack.o vendor/cigraph/src/linalg/lapack.o vendor/cigraph/src/linalg/blas.o vendor/cigraph/src/math/complex.o vendor/cigraph/src/math/safe_intop.o vendor/cigraph/src/math/utils.o vendor/cigraph/src/misc/order_cycle.o vendor/cigraph/src/misc/feedback_arc_set.o vendor/cigraph/src/misc/bipartite.o vendor/cigraph/src/misc/spanning_trees.o vendor/cigraph/src/misc/degree_sequence.o vendor/cigraph/src/misc/embedding.o vendor/cigraph/src/misc/cycle_bases.o vendor/cigraph/src/misc/motifs.o vendor/cigraph/src/misc/mixing.o vendor/cigraph/src/misc/chordality.o vendor/cigraph/src/misc/scan.o vendor/cigraph/src/misc/microscopic_update.o vendor/cigraph/src/misc/sir.o vendor/cigraph/src/misc/cocitation.o vendor/cigraph/src/misc/graphicality.o vendor/cigraph/src/misc/other.o vendor/cigraph/src/misc/matching.o vendor/cigraph/src/misc/power_law_fit.o vendor/cigraph/src/misc/conversion.o vendor/cigraph/src/misc/coloring.o vendor/cigraph/src/operators/connect_neighborhood.o vendor/cigraph/src/operators/rewire.o vendor/cigraph/src/operators/simplify.o vendor/cigraph/src/operators/contract.o vendor/cigraph/src/operators/complementer.o vendor/cigraph/src/operators/difference.o vendor/cigraph/src/operators/union.o vendor/cigraph/src/operators/disjoint_union.o vendor/cigraph/src/operators/subgraph.o vendor/cigraph/src/operators/permute.o vendor/cigraph/src/operators/reverse.o vendor/cigraph/src/operators/intersection.o vendor/cigraph/src/operators/rewire_edges.o vendor/cigraph/src/operators/misc_internal.o vendor/cigraph/src/operators/add_edge.o vendor/cigraph/src/operators/compose.o vendor/cigraph/src/paths/voronoi.o vendor/cigraph/src/paths/histogram.o vendor/cigraph/src/paths/all_shortest_paths.o vendor/cigraph/src/paths/dijkstra.o vendor/cigraph/src/paths/sparsifier.o vendor/cigraph/src/paths/bellman_ford.o vendor/cigraph/src/paths/widest_paths.o vendor/cigraph/src/paths/floyd_warshall.o vendor/cigraph/src/paths/distances.o vendor/cigraph/src/paths/shortest_paths.o vendor/cigraph/src/paths/unweighted.o vendor/cigraph/src/paths/eulerian.o vendor/cigraph/src/paths/random_walk.o vendor/cigraph/src/paths/johnson.o vendor/cigraph/src/paths/astar.o vendor/cigraph/src/paths/simple_paths.o vendor/cigraph/src/properties/constraint.o vendor/cigraph/src/properties/girth.o vendor/cigraph/src/properties/basic_properties.o vendor/cigraph/src/properties/neighborhood.o vendor/cigraph/src/properties/spectral.o vendor/cigraph/src/properties/convergence_degree.o vendor/cigraph/src/properties/ecc.o vendor/cigraph/src/properties/triangles.o vendor/cigraph/src/properties/loops.o vendor/cigraph/src/properties/dag.o vendor/cigraph/src/properties/degrees.o vendor/cigraph/src/properties/multiplicity.o vendor/cigraph/src/properties/trees.o vendor/cigraph/src/properties/perfect.o vendor/cigraph/src/random/rng_pcg32.o vendor/cigraph/src/random/random.o vendor/cigraph/src/random/rng_mt19937.o vendor/cigraph/src/random/rng_pcg64.o vendor/cigraph/src/random/rng_glibc2.o vendor/cigraph/vendor/cs/cs_load.o vendor/cigraph/vendor/cs/cs_ipvec.o vendor/cigraph/vendor/cs/cs_reach.o vendor/cigraph/vendor/cs/cs_chol.o vendor/cigraph/vendor/cs/cs_pvec.o vendor/cigraph/vendor/cs/cs_dmperm.o vendor/cigraph/vendor/cs/cs_lsolve.o vendor/cigraph/vendor/cs/cs_qrsol.o vendor/cigraph/vendor/cs/cs_symperm.o vendor/cigraph/vendor/cs/cs_schol.o vendor/cigraph/vendor/cs/cs_droptol.o vendor/cigraph/vendor/cs/cs_entry.o vendor/cigraph/vendor/cs/cs_randperm.o vendor/cigraph/vendor/cs/cs_scatter.o vendor/cigraph/vendor/cs/cs_leaf.o vendor/cigraph/vendor/cs/cs_post.o vendor/cigraph/vendor/cs/cs_dupl.o vendor/cigraph/vendor/cs/cs_malloc.o vendor/cigraph/vendor/cs/cs_dfs.o vendor/cigraph/vendor/cs/cs_lusol.o vendor/cigraph/vendor/cs/cs_add.o vendor/cigraph/vendor/cs/cs_updown.o vendor/cigraph/vendor/cs/cs_utsolve.o vendor/cigraph/vendor/cs/cs_cholsol.o vendor/cigraph/vendor/cs/cs_compress.o vendor/cigraph/vendor/cs/cs_transpose.o vendor/cigraph/vendor/cs/cs_maxtrans.o vendor/cigraph/vendor/cs/cs_print.o vendor/cigraph/vendor/cs/cs_lu.o vendor/cigraph/vendor/cs/cs_multiply.o vendor/cigraph/vendor/cs/cs_gaxpy.o vendor/cigraph/vendor/cs/cs_ltsolve.o vendor/cigraph/vendor/cs/cs_usolve.o vendor/cigraph/vendor/cs/cs_fkeep.o vendor/cigraph/vendor/cs/cs_spsolve.o vendor/cigraph/vendor/cs/cs_happly.o vendor/cigraph/vendor/cs/cs_ereach.o vendor/cigraph/vendor/cs/cs_sqr.o vendor/cigraph/vendor/cs/cs_amd.o vendor/cigraph/vendor/cs/cs_cumsum.o vendor/cigraph/vendor/cs/cs_dropzeros.o vendor/cigraph/vendor/cs/cs_permute.o vendor/cigraph/vendor/cs/cs_house.o vendor/cigraph/vendor/cs/cs_etree.o vendor/cigraph/vendor/cs/cs_pinv.o vendor/cigraph/vendor/cs/cs_scc.o vendor/cigraph/vendor/cs/cs_qr.o vendor/cigraph/vendor/cs/cs_norm.o vendor/cigraph/vendor/cs/cs_tdfs.o vendor/cigraph/vendor/cs/cs_counts.o vendor/cigraph/vendor/cs/cs_util.o vendor/cigraph/vendor/pcg/pcg-advance-64.o vendor/cigraph/vendor/pcg/pcg-rngs-128.o vendor/cigraph/vendor/pcg/pcg-output-64.o vendor/cigraph/vendor/pcg/pcg-output-128.o vendor/cigraph/vendor/pcg/pcg-output-32.o vendor/cigraph/vendor/pcg/pcg-rngs-64.o vendor/cigraph/vendor/pcg/pcg-advance-128.o vendor/cigraph/vendor/plfit/kolmogorov.o vendor/cigraph/vendor/plfit/plfit.o vendor/cigraph/vendor/plfit/mt.o vendor/cigraph/vendor/plfit/sampling.o vendor/cigraph/vendor/plfit/platform.o vendor/cigraph/vendor/plfit/gss.o vendor/cigraph/vendor/plfit/rbinom.o vendor/cigraph/vendor/plfit/hzeta.o vendor/cigraph/vendor/plfit/lbfgs.o vendor/cigraph/vendor/plfit/options.o vendor/cigraph/vendor/plfit/plfit_error.o vendor/io/pajek-lexer.o vendor/io/pajek-parser.o vendor/io/lgl-parser.o vendor/io/dl-lexer.o vendor/io/ncol-parser.o vendor/io/gml-parser.o vendor/io/dl-parser.o vendor/io/gml-lexer.o vendor/io/lgl-lexer.o vendor/io/ncol-lexer.o vendor/mini-gmp/mini-gmp.o vendor/simpleraytracer/RayTracer.o vendor/simpleraytracer/Light.o vendor/simpleraytracer/Ray.o vendor/simpleraytracer/RayVector.o vendor/simpleraytracer/unit_limiter.o vendor/simpleraytracer/Color.o vendor/simpleraytracer/Point.o vendor/simpleraytracer/Shape.o vendor/simpleraytracer/Triangle.o vendor/simpleraytracer/Sphere.o vendor/simpleraytracer/RIgraphRay.o vendor/uuid/compare.o vendor/uuid/unpack.o vendor/uuid/isnull.o vendor/uuid/copy.o vendor/uuid/unparse.o vendor/uuid/R.o vendor/uuid/pack.o vendor/uuid/clear.o vendor/uuid/gen_uuid.o vendor/uuid/parse.o +SOURCES=simpleraytracer.o rinterface_extra.o rrandom.o rinterface.o cpp11.o cpprinterface.o lazyeval.o init.o vendor/arpack/dnaupd.o vendor/arpack/dstatn.o vendor/arpack/dsaupd.o vendor/arpack/dvout.o vendor/arpack/dstqrb.o vendor/arpack/dlaqrb.o vendor/arpack/dsaup2.o vendor/arpack/dmout.o vendor/arpack/dngets.o vendor/arpack/dneupd.o vendor/arpack/dsortc.o vendor/arpack/dnaup2.o vendor/arpack/dseigt.o vendor/arpack/dneigh.o vendor/arpack/dseupd.o vendor/arpack/dsgets.o vendor/arpack/dnapps.o vendor/arpack/dsaitr.o vendor/arpack/dstats.o vendor/arpack/dnconv.o vendor/arpack/second.o vendor/arpack/dsesrt.o vendor/arpack/dsapps.o vendor/arpack/dgetv0.o vendor/arpack/dnaitr.o vendor/arpack/dsortr.o vendor/arpack/dsconv.o vendor/arpack/wrap.o vendor/arpack/ivout.o vendor/cigraph/src/version.o vendor/cigraph/src/centrality/eigenvector.o vendor/cigraph/src/centrality/truss.o vendor/cigraph/src/centrality/prpack.o vendor/cigraph/src/centrality/pagerank.o vendor/cigraph/src/centrality/closeness.o vendor/cigraph/src/centrality/hub_authority.o vendor/cigraph/src/centrality/coreness.o vendor/cigraph/src/centrality/centralization.o vendor/cigraph/src/centrality/betweenness.o vendor/cigraph/src/centrality/centrality_other.o vendor/cigraph/src/centrality/prpack/prpack_utils.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_scc_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_ge_graph.o vendor/cigraph/src/centrality/prpack/prpack_base_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_schur_graph.o vendor/cigraph/src/centrality/prpack/prpack_igraph_graph.o vendor/cigraph/src/centrality/prpack/prpack_preprocessed_gs_graph.o vendor/cigraph/src/centrality/prpack/prpack_result.o vendor/cigraph/src/centrality/prpack/prpack_solver.o vendor/cigraph/src/cliques/glet.o vendor/cigraph/src/cliques/maximal_cliques.o vendor/cigraph/src/cliques/cliquer_wrapper.o vendor/cigraph/src/cliques/cliques.o vendor/cigraph/src/cliques/cliquer/cliquer.o vendor/cigraph/src/cliques/cliquer/reorder.o vendor/cigraph/src/cliques/cliquer/cliquer_graph.o vendor/cigraph/src/community/voronoi.o vendor/cigraph/src/community/optimal_modularity.o vendor/cigraph/src/community/modularity.o vendor/cigraph/src/community/leiden.o vendor/cigraph/src/community/fluid.o vendor/cigraph/src/community/fast_modularity.o vendor/cigraph/src/community/louvain.o vendor/cigraph/src/community/label_propagation.o vendor/cigraph/src/community/community_misc.o vendor/cigraph/src/community/leading_eigenvector.o vendor/cigraph/src/community/edge_betweenness.o vendor/cigraph/src/community/infomap/infomap_Greedy.o vendor/cigraph/src/community/infomap/infomap.o vendor/cigraph/src/community/infomap/infomap_FlowGraph.o vendor/cigraph/src/community/spinglass/NetRoutines.o vendor/cigraph/src/community/spinglass/clustertool.o vendor/cigraph/src/community/spinglass/pottsmodel_2.o vendor/cigraph/src/community/spinglass/NetDataTypes.o vendor/cigraph/src/community/walktrap/walktrap.o vendor/cigraph/src/community/walktrap/walktrap_graph.o vendor/cigraph/src/community/walktrap/walktrap_heap.o vendor/cigraph/src/community/walktrap/walktrap_communities.o vendor/cigraph/src/connectivity/components.o vendor/cigraph/src/connectivity/cohesive_blocks.o vendor/cigraph/src/connectivity/separators.o vendor/cigraph/src/constructors/circulant.o vendor/cigraph/src/constructors/adjacency.o vendor/cigraph/src/constructors/famous.o vendor/cigraph/src/constructors/lcf.o vendor/cigraph/src/constructors/full.o vendor/cigraph/src/constructors/kautz.o vendor/cigraph/src/constructors/prufer.o vendor/cigraph/src/constructors/lattices.o vendor/cigraph/src/constructors/basic_constructors.o vendor/cigraph/src/constructors/regular.o vendor/cigraph/src/constructors/de_bruijn.o vendor/cigraph/src/constructors/atlas.o vendor/cigraph/src/constructors/generalized_petersen.o vendor/cigraph/src/constructors/trees.o vendor/cigraph/src/constructors/linegraph.o vendor/cigraph/src/core/memory.o vendor/cigraph/src/core/heap.o vendor/cigraph/src/core/interruption.o vendor/cigraph/src/core/array.o vendor/cigraph/src/core/strvector.o vendor/cigraph/src/core/cutheap.o vendor/cigraph/src/core/stack.o vendor/cigraph/src/core/fixed_vectorlist.o vendor/cigraph/src/core/vector.o vendor/cigraph/src/core/dqueue.o vendor/cigraph/src/core/indheap.o vendor/cigraph/src/core/printing.o vendor/cigraph/src/core/set.o vendor/cigraph/src/core/psumtree.o vendor/cigraph/src/core/trie.o vendor/cigraph/src/core/vector_list.o vendor/cigraph/src/core/matrix_list.o vendor/cigraph/src/core/estack.o vendor/cigraph/src/core/error.o vendor/cigraph/src/core/progress.o vendor/cigraph/src/core/genheap.o vendor/cigraph/src/core/vector_ptr.o vendor/cigraph/src/core/marked_queue.o vendor/cigraph/src/core/statusbar.o vendor/cigraph/src/core/grid.o vendor/cigraph/src/core/sparsemat.o vendor/cigraph/src/core/matrix.o vendor/cigraph/src/core/buckets.o vendor/cigraph/src/flow/flow.o vendor/cigraph/src/flow/st-cuts.o vendor/cigraph/src/flow/flow_conversion.o vendor/cigraph/src/games/forestfire.o vendor/cigraph/src/games/static_fitness.o vendor/cigraph/src/games/correlated.o vendor/cigraph/src/games/erdos_renyi.o vendor/cigraph/src/games/growing_random.o vendor/cigraph/src/games/recent_degree.o vendor/cigraph/src/games/islands.o vendor/cigraph/src/games/preference.o vendor/cigraph/src/games/dotproduct.o vendor/cigraph/src/games/sbm.o vendor/cigraph/src/games/barabasi.o vendor/cigraph/src/games/citations.o vendor/cigraph/src/games/watts_strogatz.o vendor/cigraph/src/games/degree_sequence.o vendor/cigraph/src/games/k_regular.o vendor/cigraph/src/games/callaway_traits.o vendor/cigraph/src/games/grg.o vendor/cigraph/src/games/establishment.o vendor/cigraph/src/games/tree.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_random.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_graph_molloy_hash.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_degree_sequence.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_mr-connected.o vendor/cigraph/src/games/degree_sequence_vl/gengraph_graph_molloy_optimized.o vendor/cigraph/src/graph/graph_list.o vendor/cigraph/src/graph/basic_query.o vendor/cigraph/src/graph/visitors.o vendor/cigraph/src/graph/iterators.o vendor/cigraph/src/graph/type_indexededgelist.o vendor/cigraph/src/graph/cattributes.o vendor/cigraph/src/graph/caching.o vendor/cigraph/src/graph/type_common.o vendor/cigraph/src/graph/attributes.o vendor/cigraph/src/graph/adjlist.o vendor/cigraph/src/hrg/hrg_types.o vendor/cigraph/src/hrg/hrg.o vendor/cigraph/src/internal/glpk_support.o vendor/cigraph/src/internal/qsort_r.o vendor/cigraph/src/internal/qsort.o vendor/cigraph/src/internal/utils.o vendor/cigraph/src/internal/hacks.o vendor/cigraph/src/internal/lsap.o vendor/cigraph/src/internal/zeroin.o vendor/cigraph/src/io/graphdb.o vendor/cigraph/src/io/dot.o vendor/cigraph/src/io/gml-tree.o vendor/cigraph/src/io/ncol.o vendor/cigraph/src/io/edgelist.o vendor/cigraph/src/io/lgl.o vendor/cigraph/src/io/dimacs.o vendor/cigraph/src/io/pajek.o vendor/cigraph/src/io/parse_utils.o vendor/cigraph/src/io/graphml.o vendor/cigraph/src/io/dl.o vendor/cigraph/src/io/gml.o vendor/cigraph/src/io/leda.o vendor/cigraph/src/isomorphism/isomorphism_misc.o vendor/cigraph/src/isomorphism/lad.o vendor/cigraph/src/isomorphism/queries.o vendor/cigraph/src/isomorphism/isoclasses.o vendor/cigraph/src/isomorphism/bliss.o vendor/cigraph/src/isomorphism/vf2.o vendor/cigraph/src/isomorphism/bliss/utils.o vendor/cigraph/src/isomorphism/bliss/graph.o vendor/cigraph/src/isomorphism/bliss/uintseqhash.o vendor/cigraph/src/isomorphism/bliss/defs.o vendor/cigraph/src/isomorphism/bliss/orbit.o vendor/cigraph/src/isomorphism/bliss/heap.o vendor/cigraph/src/isomorphism/bliss/partition.o vendor/cigraph/src/layout/reingold_tilford.o vendor/cigraph/src/layout/layout_bipartite.o vendor/cigraph/src/layout/graphopt.o vendor/cigraph/src/layout/davidson_harel.o vendor/cigraph/src/layout/umap.o vendor/cigraph/src/layout/merge_dla.o vendor/cigraph/src/layout/merge_grid.o vendor/cigraph/src/layout/kamada_kawai.o vendor/cigraph/src/layout/gem.o vendor/cigraph/src/layout/sugiyama.o vendor/cigraph/src/layout/large_graph.o vendor/cigraph/src/layout/fruchterman_reingold.o vendor/cigraph/src/layout/layout_grid.o vendor/cigraph/src/layout/circular.o vendor/cigraph/src/layout/mds.o vendor/cigraph/src/layout/layout_random.o vendor/cigraph/src/layout/drl/drl_layout_3d.o vendor/cigraph/src/layout/drl/drl_parse.o vendor/cigraph/src/layout/drl/drl_graph_3d.o vendor/cigraph/src/layout/drl/drl_graph.o vendor/cigraph/src/layout/drl/drl_layout.o vendor/cigraph/src/layout/drl/DensityGrid.o vendor/cigraph/src/layout/drl/DensityGrid_3d.o vendor/cigraph/src/linalg/eigen.o vendor/cigraph/src/linalg/arpack.o vendor/cigraph/src/linalg/lapack.o vendor/cigraph/src/linalg/blas.o vendor/cigraph/src/math/complex.o vendor/cigraph/src/math/safe_intop.o vendor/cigraph/src/math/utils.o vendor/cigraph/src/misc/order_cycle.o vendor/cigraph/src/misc/feedback_arc_set.o vendor/cigraph/src/misc/bipartite.o vendor/cigraph/src/misc/spanning_trees.o vendor/cigraph/src/misc/degree_sequence.o vendor/cigraph/src/misc/embedding.o vendor/cigraph/src/misc/cycle_bases.o vendor/cigraph/src/misc/motifs.o vendor/cigraph/src/misc/mixing.o vendor/cigraph/src/misc/chordality.o vendor/cigraph/src/misc/scan.o vendor/cigraph/src/misc/microscopic_update.o vendor/cigraph/src/misc/sir.o vendor/cigraph/src/misc/cocitation.o vendor/cigraph/src/misc/graphicality.o vendor/cigraph/src/misc/other.o vendor/cigraph/src/misc/matching.o vendor/cigraph/src/misc/power_law_fit.o vendor/cigraph/src/misc/conversion.o vendor/cigraph/src/misc/coloring.o vendor/cigraph/src/operators/connect_neighborhood.o vendor/cigraph/src/operators/rewire.o vendor/cigraph/src/operators/simplify.o vendor/cigraph/src/operators/contract.o vendor/cigraph/src/operators/complementer.o vendor/cigraph/src/operators/difference.o vendor/cigraph/src/operators/union.o vendor/cigraph/src/operators/disjoint_union.o vendor/cigraph/src/operators/subgraph.o vendor/cigraph/src/operators/permute.o vendor/cigraph/src/operators/reverse.o vendor/cigraph/src/operators/intersection.o vendor/cigraph/src/operators/rewire_edges.o vendor/cigraph/src/operators/misc_internal.o vendor/cigraph/src/operators/add_edge.o vendor/cigraph/src/operators/compose.o vendor/cigraph/src/paths/voronoi.o vendor/cigraph/src/paths/histogram.o vendor/cigraph/src/paths/all_shortest_paths.o vendor/cigraph/src/paths/dijkstra.o vendor/cigraph/src/paths/sparsifier.o vendor/cigraph/src/paths/bellman_ford.o vendor/cigraph/src/paths/widest_paths.o vendor/cigraph/src/paths/floyd_warshall.o vendor/cigraph/src/paths/distances.o vendor/cigraph/src/paths/shortest_paths.o vendor/cigraph/src/paths/unweighted.o vendor/cigraph/src/paths/eulerian.o vendor/cigraph/src/paths/random_walk.o vendor/cigraph/src/paths/johnson.o vendor/cigraph/src/paths/astar.o vendor/cigraph/src/paths/simple_paths.o vendor/cigraph/src/properties/constraint.o vendor/cigraph/src/properties/girth.o vendor/cigraph/src/properties/basic_properties.o vendor/cigraph/src/properties/neighborhood.o vendor/cigraph/src/properties/spectral.o vendor/cigraph/src/properties/convergence_degree.o vendor/cigraph/src/properties/ecc.o vendor/cigraph/src/properties/triangles.o vendor/cigraph/src/properties/loops.o vendor/cigraph/src/properties/dag.o vendor/cigraph/src/properties/degrees.o vendor/cigraph/src/properties/multiplicity.o vendor/cigraph/src/properties/trees.o vendor/cigraph/src/properties/perfect.o vendor/cigraph/src/random/rng_pcg32.o vendor/cigraph/src/random/random.o vendor/cigraph/src/random/rng_mt19937.o vendor/cigraph/src/random/rng_pcg64.o vendor/cigraph/src/random/rng_glibc2.o vendor/cigraph/vendor/cs/cs_load.o vendor/cigraph/vendor/cs/cs_ipvec.o vendor/cigraph/vendor/cs/cs_reach.o vendor/cigraph/vendor/cs/cs_chol.o vendor/cigraph/vendor/cs/cs_pvec.o vendor/cigraph/vendor/cs/cs_dmperm.o vendor/cigraph/vendor/cs/cs_lsolve.o vendor/cigraph/vendor/cs/cs_qrsol.o vendor/cigraph/vendor/cs/cs_symperm.o vendor/cigraph/vendor/cs/cs_schol.o vendor/cigraph/vendor/cs/cs_droptol.o vendor/cigraph/vendor/cs/cs_entry.o vendor/cigraph/vendor/cs/cs_randperm.o vendor/cigraph/vendor/cs/cs_scatter.o vendor/cigraph/vendor/cs/cs_leaf.o vendor/cigraph/vendor/cs/cs_post.o vendor/cigraph/vendor/cs/cs_dupl.o vendor/cigraph/vendor/cs/cs_malloc.o vendor/cigraph/vendor/cs/cs_dfs.o vendor/cigraph/vendor/cs/cs_lusol.o vendor/cigraph/vendor/cs/cs_add.o vendor/cigraph/vendor/cs/cs_updown.o vendor/cigraph/vendor/cs/cs_utsolve.o vendor/cigraph/vendor/cs/cs_cholsol.o vendor/cigraph/vendor/cs/cs_compress.o vendor/cigraph/vendor/cs/cs_transpose.o vendor/cigraph/vendor/cs/cs_maxtrans.o vendor/cigraph/vendor/cs/cs_print.o vendor/cigraph/vendor/cs/cs_lu.o vendor/cigraph/vendor/cs/cs_multiply.o vendor/cigraph/vendor/cs/cs_gaxpy.o vendor/cigraph/vendor/cs/cs_ltsolve.o vendor/cigraph/vendor/cs/cs_usolve.o vendor/cigraph/vendor/cs/cs_fkeep.o vendor/cigraph/vendor/cs/cs_spsolve.o vendor/cigraph/vendor/cs/cs_happly.o vendor/cigraph/vendor/cs/cs_ereach.o vendor/cigraph/vendor/cs/cs_sqr.o vendor/cigraph/vendor/cs/cs_amd.o vendor/cigraph/vendor/cs/cs_cumsum.o vendor/cigraph/vendor/cs/cs_dropzeros.o vendor/cigraph/vendor/cs/cs_permute.o vendor/cigraph/vendor/cs/cs_house.o vendor/cigraph/vendor/cs/cs_etree.o vendor/cigraph/vendor/cs/cs_pinv.o vendor/cigraph/vendor/cs/cs_scc.o vendor/cigraph/vendor/cs/cs_qr.o vendor/cigraph/vendor/cs/cs_norm.o vendor/cigraph/vendor/cs/cs_tdfs.o vendor/cigraph/vendor/cs/cs_counts.o vendor/cigraph/vendor/cs/cs_util.o vendor/cigraph/vendor/pcg/pcg-advance-64.o vendor/cigraph/vendor/pcg/pcg-rngs-128.o vendor/cigraph/vendor/pcg/pcg-output-64.o vendor/cigraph/vendor/pcg/pcg-output-128.o vendor/cigraph/vendor/pcg/pcg-output-32.o vendor/cigraph/vendor/pcg/pcg-rngs-64.o vendor/cigraph/vendor/pcg/pcg-advance-128.o vendor/cigraph/vendor/plfit/kolmogorov.o vendor/cigraph/vendor/plfit/plfit.o vendor/cigraph/vendor/plfit/mt.o vendor/cigraph/vendor/plfit/sampling.o vendor/cigraph/vendor/plfit/platform.o vendor/cigraph/vendor/plfit/gss.o vendor/cigraph/vendor/plfit/rbinom.o vendor/cigraph/vendor/plfit/hzeta.o vendor/cigraph/vendor/plfit/lbfgs.o vendor/cigraph/vendor/plfit/options.o vendor/cigraph/vendor/plfit/plfit_error.o vendor/io/pajek-lexer.o vendor/io/pajek-parser.o vendor/io/lgl-parser.o vendor/io/dl-lexer.o vendor/io/ncol-parser.o vendor/io/gml-parser.o vendor/io/dl-parser.o vendor/io/gml-lexer.o vendor/io/lgl-lexer.o vendor/io/ncol-lexer.o vendor/mini-gmp/mini-gmp.o vendor/simpleraytracer/RayTracer.o vendor/simpleraytracer/Light.o vendor/simpleraytracer/Ray.o vendor/simpleraytracer/RayVector.o vendor/simpleraytracer/unit_limiter.o vendor/simpleraytracer/Color.o vendor/simpleraytracer/Point.o vendor/simpleraytracer/Shape.o vendor/simpleraytracer/Triangle.o vendor/simpleraytracer/Sphere.o vendor/uuid/compare.o vendor/uuid/unpack.o vendor/uuid/isnull.o vendor/uuid/copy.o vendor/uuid/unparse.o vendor/uuid/R.o vendor/uuid/pack.o vendor/uuid/clear.o vendor/uuid/gen_uuid.o vendor/uuid/parse.o From a1ca8c47bc2f6e288f6859954ea87924715a863f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 27 Jan 2024 08:52:24 +0100 Subject: [PATCH 3/3] Spaces --- src/simpleraytracer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/simpleraytracer.cpp b/src/simpleraytracer.cpp index 888ea36264..a84ed4ff50 100644 --- a/src/simpleraytracer.cpp +++ b/src/simpleraytracer.cpp @@ -1,23 +1,23 @@ /* -*- mode: C -*- */ -/* +/* IGraph library R interface. Copyright (C) 2005-2012 Gabor Csardi 334 Harvard street, Cambridge, MA 02139 USA - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA */ @@ -48,7 +48,7 @@ SEXP getsphere( int nopixels=swidth * sheight; SEXP result, dim; Image image; - + p_ray_tracer = new RayTracer(); p_ray_tracer->EyePoint(Point(0,0,0)); @@ -71,7 +71,7 @@ SEXP getsphere( INTEGER(dim)[1]=sheight; INTEGER(dim)[2]=4; SET_DIM(result, dim); - + image.width=swidth; image.height=sheight; image.red=REAL(result);