Browse Source

Fix documentation

Daniele Bartolini 11 năm trước cách đây
mục cha
commit
cb8f7a3472
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      engine/physics/Actor.h

+ 3 - 3
engine/physics/Actor.h

@@ -57,13 +57,13 @@ struct Actor
 	Actor(PhysicsWorld& pw, const PhysicsResource* res, uint32_t actor_idx, SceneGraph& sg, int32_t node, UnitId unit_id);
 	Actor(PhysicsWorld& pw, const PhysicsResource* res, uint32_t actor_idx, SceneGraph& sg, int32_t node, UnitId unit_id);
 	~Actor();
 	~Actor();
 
 
-	/// Sets the world position of the actor.
+	/// Returns the world position of the actor.
 	Vector3 world_position() const;
 	Vector3 world_position() const;
 
 
-	/// Sets the world rotation of the actor.
+	/// Returns the world rotation of the actor.
 	Quaternion world_rotation() const;
 	Quaternion world_rotation() const;
 
 
-	/// Sets the world pose of the actor.
+	/// Returns the world pose of the actor.
 	Matrix4x4 world_pose() const;
 	Matrix4x4 world_pose() const;
 
 
 	/// Teleports the actor to the given world position.
 	/// Teleports the actor to the given world position.