Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed easing function links in API docs #12527

Merged
merged 1 commit into from
May 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions packages/dev/core/src/Animations/easing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BezierCurve } from "../Maths/math.path";
/**
* This represents the main contract an easing function should follow.
* Easing functions are used throughout the animation system.
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export interface IEasingFunction {
/**
Expand All @@ -19,7 +19,7 @@ export interface IEasingFunction {

/**
* Base class used for every default easing function.
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class EasingFunction implements IEasingFunction {
/**
Expand Down Expand Up @@ -89,7 +89,7 @@ export class EasingFunction implements IEasingFunction {
/**
* Easing function with a circle shape (see link below).
* @see https://easings.net/#easeInCirc
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class CircleEase extends EasingFunction implements IEasingFunction {
/**
Expand All @@ -105,7 +105,7 @@ export class CircleEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a ease back shape (see link below).
* @see https://easings.net/#easeInBack
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class BackEase extends EasingFunction implements IEasingFunction {
/**
Expand Down Expand Up @@ -133,7 +133,7 @@ export class BackEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a bouncing shape (see link below).
* @see https://easings.net/#easeInBounce
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class BounceEase extends EasingFunction implements IEasingFunction {
/**
Expand Down Expand Up @@ -180,7 +180,7 @@ export class BounceEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a power of 3 shape (see link below).
* @see https://easings.net/#easeInCubic
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class CubicEase extends EasingFunction implements IEasingFunction {
/**
Expand All @@ -195,7 +195,7 @@ export class CubicEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with an elastic shape (see link below).
* @see https://easings.net/#easeInElastic
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class ElasticEase extends EasingFunction implements IEasingFunction {
/**
Expand Down Expand Up @@ -234,7 +234,7 @@ export class ElasticEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with an exponential shape (see link below).
* @see https://easings.net/#easeInExpo
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class ExponentialEase extends EasingFunction implements IEasingFunction {
/**
Expand Down Expand Up @@ -265,7 +265,7 @@ export class ExponentialEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a power shape (see link below).
* @see https://easings.net/#easeInQuad
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class PowerEase extends EasingFunction implements IEasingFunction {
/**
Expand Down Expand Up @@ -293,7 +293,7 @@ export class PowerEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a power of 2 shape (see link below).
* @see https://easings.net/#easeInQuad
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class QuadraticEase extends EasingFunction implements IEasingFunction {
/**
Expand All @@ -308,7 +308,7 @@ export class QuadraticEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a power of 4 shape (see link below).
* @see https://easings.net/#easeInQuart
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class QuarticEase extends EasingFunction implements IEasingFunction {
/**
Expand All @@ -323,7 +323,7 @@ export class QuarticEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a power of 5 shape (see link below).
* @see https://easings.net/#easeInQuint
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class QuinticEase extends EasingFunction implements IEasingFunction {
/**
Expand All @@ -338,7 +338,7 @@ export class QuinticEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a sin shape (see link below).
* @see https://easings.net/#easeInSine
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class SineEase extends EasingFunction implements IEasingFunction {
/**
Expand All @@ -353,7 +353,7 @@ export class SineEase extends EasingFunction implements IEasingFunction {
/**
* Easing function with a bezier shape (see link below).
* @see http://cubic-bezier.com/#.17,.67,.83,.67
* @see https://doc.babylonjs.com/babylon101/animations#easing-functions
* @see https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions
*/
export class BezierCurveEase extends EasingFunction implements IEasingFunction {
/**
Expand Down