summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/node.c b/src/node.c
index 511b1f3..b6d431c 100644
--- a/src/node.c
+++ b/src/node.c
@@ -691,23 +691,22 @@ ganv_node_can_head(const GanvNode* self)
}
gboolean
-ganv_node_is_within(const GanvNode* self,
+ganv_node_is_within(const GanvNode* node,
double x1,
double y1,
double x2,
double y2)
{
- return GANV_NODE_GET_CLASS(self)->is_within(
- self, x1, y1, x2, y2);
+ return GANV_NODE_GET_CLASS(node)->is_within(node, x1, y1, x2, y2);
}
void
-ganv_node_tick(GanvNode* self,
+ganv_node_tick(GanvNode* node,
double seconds)
{
- GanvNodeClass* klass = GANV_NODE_GET_CLASS(self);
+ GanvNodeClass* klass = GANV_NODE_GET_CLASS(node);
if (klass->tick) {
- klass->tick(self, seconds);
+ klass->tick(node, seconds);
}
}