godot/core/math/vector2.cpp

/**************************************************************************/
/*  vector2.cpp                                                           */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "vector2.h"

#include "core/math/vector2i.h"
#include "core/string/ustring.h"

real_t Vector2::angle() const {}

Vector2 Vector2::from_angle(real_t p_angle) {}

real_t Vector2::length() const {}

real_t Vector2::length_squared() const {}

void Vector2::normalize() {}

Vector2 Vector2::normalized() const {}

bool Vector2::is_normalized() const {}

real_t Vector2::distance_to(const Vector2 &p_vector2) const {}

real_t Vector2::distance_squared_to(const Vector2 &p_vector2) const {}

real_t Vector2::angle_to(const Vector2 &p_vector2) const {}

real_t Vector2::angle_to_point(const Vector2 &p_vector2) const {}

real_t Vector2::dot(const Vector2 &p_other) const {}

real_t Vector2::cross(const Vector2 &p_other) const {}

Vector2 Vector2::sign() const {}

Vector2 Vector2::floor() const {}

Vector2 Vector2::ceil() const {}

Vector2 Vector2::round() const {}

Vector2 Vector2::rotated(real_t p_by) const {}

Vector2 Vector2::posmod(real_t p_mod) const {}

Vector2 Vector2::posmodv(const Vector2 &p_modv) const {}

Vector2 Vector2::project(const Vector2 &p_to) const {}

Vector2 Vector2::clamp(const Vector2 &p_min, const Vector2 &p_max) const {}

Vector2 Vector2::clampf(real_t p_min, real_t p_max) const {}

Vector2 Vector2::snapped(const Vector2 &p_step) const {}

Vector2 Vector2::snappedf(real_t p_step) const {}

Vector2 Vector2::limit_length(real_t p_len) const {}

Vector2 Vector2::move_toward(const Vector2 &p_to, real_t p_delta) const {}

// slide returns the component of the vector along the given plane, specified by its normal vector.
Vector2 Vector2::slide(const Vector2 &p_normal) const {}

Vector2 Vector2::bounce(const Vector2 &p_normal) const {}

Vector2 Vector2::reflect(const Vector2 &p_normal) const {}

bool Vector2::is_equal_approx(const Vector2 &p_v) const {}

bool Vector2::is_zero_approx() const {}

bool Vector2::is_finite() const {}

operator String()

operator Vector2i()