update URLs in comments

This commit is contained in:
Hajime Hoshi 2022-09-23 19:08:35 +09:00
parent d3457e8cf7
commit 284c9fcc7f
5 changed files with 10 additions and 10 deletions

View File

@ -56,10 +56,10 @@ You don't have to update existing files' license comments.
## Implementation details
See the [documents](https://ebiten.org/documents/implementation.html) about internal implementation.
See the [documents](https://ebitengine.org/en/documents/implementation.html) about internal implementation.
## Fixing the documentation
Ebitengine's documentations are managed at [ebiten/ebiten.org](https://github.com/ebiten/ebiten.org).
Ebitengine's documentations are managed at [ebiten/ebitengine.org](https://github.com/ebitengine/ebitengine.org).
Before submitting a documentation PR, read through the [README](https://github.com/ebiten/ebiten.org/blob/main/README.md) in that repo.
Before submitting a documentation PR, read through the [README](https://github.com/ebitengine/ebitengine.org/blob/main/README.md) in that repo.

View File

@ -14,7 +14,7 @@
// ebitenmobile is a wrapper of gomobile for Ebitengine.
//
// For the usage, see https://ebiten.org/documents/mobile.html.
// For the usage, see https://ebitengine.org/en/documents/mobile.html.
//
// gomobile's version is fixed by ebitenmobile.
// You can specify gomobile's version by EBITENMOBILE_GOMOBILE environment variable.

View File

@ -275,7 +275,7 @@ func (i *Image) adjustedRegion() graphicsdriver.Region {
// Another case is when you use an offscreen as a render source. An offscreen
// doesn't share the texture atlas with high probability.
//
// For more performance tips, see https://ebiten.org/documents/performancetips.html
// For more performance tips, see https://ebitengine.org/en/documents/performancetips.html
func (i *Image) DrawImage(img *Image, options *DrawImageOptions) {
i.copyCheck()
@ -524,7 +524,7 @@ func init() {
//
// Vertex contains color values, which can be interpreted for any purpose by the shader.
//
// For the details about the shader, see https://ebiten.org/documents/shader.html.
// For the details about the shader, see https://ebitengine.org/en/documents/shader.html.
//
// If len(indices) is not multiple of 3, DrawTrianglesShader panics.
//
@ -658,7 +658,7 @@ func init() {
// DrawRectShader draws a rectangle with the specified width and height with the specified shader.
//
// For the details about the shader, see https://ebiten.org/documents/shader.html.
// For the details about the shader, see https://ebitengine.org/en/documents/shader.html.
//
// When one of the specified image is non-nil and is disposed, DrawRectShader panics.
//

View File

@ -16,7 +16,7 @@
//
// This package is used when you use `ebitenmobile bind`.
//
// For usage, see https://ebiten.org/documents/mobile.html.
// For usage, see https://ebitengine.org/en/documents/mobile.html.
package mobile
import (

View File

@ -21,7 +21,7 @@ import (
// Shader represents a compiled shader program.
//
// For the details about the shader, see https://ebiten.org/documents/shader.html.
// For the details about the shader, see https://ebitengine.org/en/documents/shader.html.
type Shader struct {
shader *ui.Shader
}
@ -30,7 +30,7 @@ type Shader struct {
//
// If the compilation fails, NewShader returns an error.
//
// For the details about the shader, see https://ebiten.org/documents/shader.html.
// For the details about the shader, see https://ebitengine.org/en/documents/shader.html.
func NewShader(src []byte) (*Shader, error) {
ir, err := graphics.CompileShader(src)
if err != nil {