This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Professional (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Materials and Shaders
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Сэмплы материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Math Exponential Functions

Header: #include <UnigineMathLib.h>

This class represents exponential functions.

Notice
Math exponential functions are the members of the Unigine::Math namespace.

Math Class

Members


float exp ( float v ) #

Returns e raised to the specified power (ev ).

Arguments

  • float v - Power.

Return value

e raised to the specified power (ev ).

double exp ( double v ) #

Returns e raised to the specified power (ev ).

Arguments

  • double v - Power.

Return value

e raised to the specified power (ev ).

float exp2 ( float v ) #

Returns 2 raised to the specified power (2v ).

Arguments

  • float v - Power.

Return value

2 raised to the specified power (2v ).

double exp2 ( double v ) #

Returns 2 raised to the specified power (2v ).

Arguments

  • double v - Power.

Return value

2 raised to the specified power (2v ).

float log ( float v ) #

Returns the natural logarithm of the argument.

Arguments

  • float v - Argument.

Return value

Natural logarithm of the argument.

double log ( double v ) #

Returns the natural logarithm of the argument.

Arguments

  • double v - Argument.

Return value

Natural logarithm of the argument.

float log10 ( float v ) #

Returns the base-10 logarithm of the argument.

Arguments

  • float v - Argument.

Return value

Base-10 logarithm of the argument.

double log10 ( double v ) #

Returns the base-10 logarithm of the argument.

Arguments

  • double v - Argument.

Return value

Base-10 logarithm of the argument.

float pow ( float x, float y ) #

Returns the argument raised to the specified power (xy ).

Arguments

  • float x - Argument.
  • float y - Power.

Return value

Argument raised to the specified power (xy ).

double pow ( double x, double y ) #

Returns the argument raised to the specified power (xy ).

Arguments

  • double x - Argument.
  • double y - Power.

Return value

Argument raised to the specified power (xy ).

float pow2 ( float x ) #

Returns the argument raised to the power of 2 (squared).

Arguments

  • float x - Argument.

Return value

Argument raised to the power of 2 (squared).

double pow2 ( double x ) #

Returns the argument raised to the power of 2 (squared).

Arguments

  • double x - Argument.

Return value

Argument raised to the power of 2 (squared).

int pow2 ( int x ) #

Returns the argument raised to the power of 2 (squared).

Arguments

  • int x - Argument.

Return value

Argument raised to the power of 2 (squared).

double dsqrt ( double v ) #

Returns the square root of the argument.

Arguments

  • double v - Argument.

Return value

Square root of the argument.

float fsqrt ( float v ) #

Returns the square root of the argument.

Arguments

  • float v - Argument.

Return value

Square root of the argument.

float rsqrt ( float v ) #

Returns the inverted square root of the argument.

Arguments

  • float v - Argument.

Return value

Inverted square root of the argument.

double rsqrt ( double v ) #

Returns the inverted square root of the argument.

Arguments

  • double v - Argument.

Return value

Inverted square root of the argument.
Last update: 10.10.2022
Build: ()