|
|
@@ -794,6 +794,17 @@ get_r(const NodePath &other) const {
|
|
|
return get_hpr(other)[2];
|
|
|
}
|
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+// Function: NodePath::set_scale
|
|
|
+// Access: Published
|
|
|
+// Description: Sets the scale component of the transform,
|
|
|
+// relative to the other node.
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
+INLINE void NodePath::
|
|
|
+set_scale(const NodePath &other, float scale) {
|
|
|
+ set_scale(other, LPoint3f(scale, scale, scale));
|
|
|
+}
|
|
|
+
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: NodePath::set_scale
|
|
|
// Access: Published
|