Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
51812532
Commit
51812532
authored
Feb 08, 2012
by
Robert Menzel
Browse files
changed type as no negative texture sizes are useful
parent
55d9f005
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ACGL/OpenGL/Controller/TextureControl.hh
View file @
51812532
...
...
@@ -43,8 +43,8 @@ public:
// ============================================================================================ METHODS \/
// ==================================================================================================== \/
public:
inline
TextureControl
&
size
(
const
glm
::
i
vec2
&
_size
)
{
return
size
(
_size
.
x
,
_size
.
y
);
}
inline
TextureControl
&
size
(
const
glm
::
i
vec3
&
_size
)
{
return
size
(
_size
.
x
,
_size
.
y
,
_size
.
z
);
}
inline
TextureControl
&
size
(
const
glm
::
u
vec2
&
_size
)
{
return
size
(
_size
.
x
,
_size
.
y
);
}
inline
TextureControl
&
size
(
const
glm
::
u
vec3
&
_size
)
{
return
size
(
_size
.
x
,
_size
.
y
,
_size
.
z
);
}
inline
TextureControl
&
size
(
GLsizei
_width
,
GLsizei
_height
=
0
,
GLsizei
_depth
=
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment