SPH
src
core
math
Morton.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
objects/geometry/Box.h
"
4
5
NAMESPACE_SPH_BEGIN
6
10
Size
morton
(
const
Vector
& v);
11
13
Size
morton
(
const
Vector
& v,
const
Box
& box);
14
15
NAMESPACE_SPH_END
NAMESPACE_SPH_BEGIN
NAMESPACE_SPH_BEGIN
Definition:
BarnesHut.cpp:13
Box.h
Object representing a three-dimensional axis-aligned box.
Size
uint32_t Size
Integral type used to index arrays (by default).
Definition:
Globals.h:16
morton
NAMESPACE_SPH_BEGIN Size morton(const Vector &v)
Calculates a 30-bit Morton code for the given vector located within the unit cube [0,...
Definition:
Morton.cpp:15
NAMESPACE_SPH_END
#define NAMESPACE_SPH_END
Definition:
Object.h:12
BasicVector< Float >
Box
Helper object defining three-dimensional interval (box).
Definition:
Box.h:17
Generated by
1.9.1