23#ifndef VCL_MESH_VIEWS_COMPONENTS_NORMALS_H
24#define VCL_MESH_VIEWS_COMPONENTS_NORMALS_H
26#include <vclib/mesh/components/normal.h>
28#include <vclib/base.h>
36inline constexpr auto normal = [](
auto&& p) ->
decltype(
auto) {
37 if constexpr (IsPointer<
decltype(p)>)
45 constexpr NormalsView() =
default;
47 template<std::ranges::range R>
48 friend constexpr auto operator|(R&& r, NormalsView)
50 return std::forward<R>(r) | std::views::transform(normal);
56inline constexpr detail::NormalsView normals;