93 const v3s16 &real_under,
const v3f &point,
const v3s16 &normal,
97 std::string
dump()
const;
core::vector3d< s16 > v3s16
Definition: irr_v3d.h:28
core::vector3df v3f
Definition: irr_v3d.h:26
PointedThingType
Definition: pointedthing.h:28
@ POINTEDTHING_OBJECT
Definition: pointedthing.h:31
@ POINTEDTHING_NODE
Definition: pointedthing.h:30
@ POINTEDTHING_NOTHING
Definition: pointedthing.h:29
An active object or node which is selected by a ray on the map.
Definition: pointedthing.h:36
f32 distanceSq
Definition: pointedthing.h:87
std::string dump() const
Definition: pointedthing.cpp:48
v3s16 node_abovesurface
Definition: pointedthing.h:53
v3s16 intersection_normal
Definition: pointedthing.h:77
PointedThing()=default
Constructor for POINTEDTHING_NOTHING.
s16 object_id
Definition: pointedthing.h:64
u16 box_id
Definition: pointedthing.h:82
v3s16 node_undersurface
Definition: pointedthing.h:46
bool operator!=(const PointedThing &pt2) const
Definition: pointedthing.cpp:131
v3f intersection_point
Definition: pointedthing.h:70
void deSerialize(std::istream &is)
Definition: pointedthing.cpp:89
PointedThingType type
The type of the pointed object.
Definition: pointedthing.h:38
void serialize(std::ostream &os) const
Definition: pointedthing.cpp:72
bool operator==(const PointedThing &pt2) const
Definition: pointedthing.cpp:110
v3s16 node_real_undersurface
Definition: pointedthing.h:59